Re: [dpdk-dev] [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict

2020-07-06 Thread Ruifeng Wang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:50 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.

Re: [dpdk-dev] [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict

2020-07-06 Thread Phil Yang
> -Original Message- > From: Joyce Kong > Sent: Monday, July 6, 2020 3:50 PM > To: maxime.coque...@redhat.com; jer...@marvell.com; > zhihong.w...@intel.com; xiaolong...@intel.com; beilei.x...@intel.com; > jia@intel.com; john.mcnam...@intel.com; ma...@mellanox.com; > shah...@mellanox.co

[dpdk-dev] [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict

2020-07-06 Thread Joyce Kong
The 'restrict' keyword is recognized in C99, which might have some issues with old compilers. It is better to use the wrapper '__rte_restrict' which can be supported by all compilers for restricted pointers. Signed-off-by: Joyce Kong --- drivers/net/mlx5/mlx5_rxtx.c | 208 +--