net/ice: fix Rx offload flags in SSE path
PATCH 1/1 net/ice: fix Rx offload flags in SSE path
From: Alvin Zhang <[email protected]>
Update reading offload flags of last two of four packets.
Fixes ece1f8a8f1c8 ("net/ice: switch to flexible descriptor in SSE path")
Signed-off-by Alvin Zhang <[email protected]>
--- drivers/net/ice/ice_rxtx_vec_sse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ice/ice_rxtx_vec_sse.c +1 -1
@@ -159,7 +159,7 @@ flags =_mm_unpackhi_epi32 (descs[0 ], descs[1 ]); tmp_desc =_mm_unpackhi_epi32 (descs[2 ], descs[3 ]); tmp_desc =_mm_unpacklo_epi64 (flags, tmp_desc); - tmp_desc =_mm_and_si128 (flags, desc_mask); + tmp_desc =_mm_and_si128 (tmp_desc, desc_mask);/* checksum flags */ tmp_desc =_mm_srli_epi32 (tmp_desc,4 );
Signature · 1 line
1.8.3.1
Quoted 9 lines
-----Original Message-----
From: Zhang,Alvin <[email protected]>
Sent: Friday, October 23, 2020 10:13 AM
To: Lu, Wenzhuo <[email protected]>; Zhang, Qi Z <[email protected]>
Cc: [email protected]; Zhang, AlvinX <[email protected]>; [email protected]
Subject: [PATCH] net/ice: fix Rx offload flags in SSE path
Quoted 8 lines
From: Alvin Zhang <[email protected]>
Update reading offload flags of last two of four packets.
Fixes ece1f8a8f1c8 ("net/ice: switch to flexible descriptor in SSE path")Signed-off-by Alvin Zhang <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi