[dpdk-dev] [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict
Ruifeng Wang
Ruifeng.Wang at arm.com
Tue Jul 7 04:47:21 CEST 2020
> -----Original Message-----
> From: Joyce Kong <joyce.kong at arm.com>
> Sent: Monday, July 6, 2020 3:50 PM
> To: maxime.coquelin at redhat.com; jerinj at marvell.com;
> zhihong.wang at intel.com; xiaolong.ye at intel.com; beilei.xing at intel.com;
> jia.guo at intel.com; john.mcnamara at intel.com; matan at mellanox.com;
> shahafs at mellanox.com; viacheslavo at mellanox.com; Honnappa Nagarahalli
> <Honnappa.Nagarahalli at arm.com>; Phil Yang <Phil.Yang at arm.com>;
> Ruifeng Wang <Ruifeng.Wang at arm.com>
> Cc: dev at dpdk.org; nd <nd at arm.com>
> Subject: [PATCH v2 6/6] net/mlx5: replace restrict keyword with rte restrict
>
> 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 <joyce.kong at arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> ---
> drivers/net/mlx5/mlx5_rxtx.c | 208 +++++++++++++++++------------------
> 1 file changed, 104 insertions(+), 104 deletions(-)
>
<snip>
More information about the dev
mailing list