[dpdk-dev] [PATCH v4 1/3] net/mlx5: fix the clang compiling issue

Thomas Monjalon thomas at monjalon.net
Mon May 21 01:02:13 CEST 2018


17/05/2018 04:46, Gavin Hu:
> From: gavin hu <gavin.hu at arm.com>
> 
> This patch adds a pair of "()" to embrace the argument
> input to the function-like macro invocation.
> 
> drivers/net/mlx5/mlx5_rxtx_vec.c:37:
> drivers/net/mlx5/mlx5_rxtx_vec_neon.h:170:24: error: too many arguments
> provided to function-like macro invocation
> 	(uint16x8_t) { 0, 0, cs_flags,
> 	rte_cpu_to_be_16(len),
> 
> Fixes: 570acdb1da ("net/mlx5: add vectorized Rx/Tx burst for ARM")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Gavin Hu <gavin.hu at arm.com>
> Signed-off-by: Sirshak Das <sirshak.das at arm.com>
> Reviewed-by: Phil Yang <Phil.Yang at arm.com>
> Reviewed-by: Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com>
> Reviewed-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> Acked-by: Yongseok Koh <yskoh at mellanox.com>

Series applied, thanks





More information about the dev mailing list