]> git.droids-corp.org - dpdk.git/commit
net/i40e: fix build with 16B descriptor on Arm
authorJoyce Kong <joyce.kong@arm.com>
Fri, 4 Mar 2022 07:35:17 +0000 (07:35 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 9 Mar 2022 07:27:56 +0000 (08:27 +0100)
commitc251b6a688bb0aba7d7a46154a3b238916ebd1a0
tree0fe4e752408d7d607718b9c5a9e1c5af324c820a
parentca12f5e8a7db9b08913f235ba8b8381248bf4970
net/i40e: fix build with 16B descriptor on Arm

For NEON vector path, there is an issue when building
with 16B descriptor:
incompatible types when assigning to type ‘uint64x2_t’
from type ‘uint32x4_t’
180 |  descs[3] = vbslq_u32(v_desc3_mask, v_zeros,
vreinterpretq_u32_u64(descs[3]));
    |             ^~~~~~~~~

The fix is to add interpretation between type 'uint64x2_t'
and type 'uint32x4_t'.

Fixes: dba9e3bcd9bb ("net/i40e: add flow mark capability to NEON Rx")
Signed-off-by: Joyce Kong <joyce.kong@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_rxtx_vec_neon.c