net/iavf: fix Rx offload flags in SSE path
PATCH 1/1 net/iavf: fix Rx offload flags in SSE path
From: Alvin Zhang <[email protected]>
Update reading offload flags of last two of four packets.
Fixes 1162f5a0ef31 ("net/iavf: support flexible Rx descriptor in SSE path")
Signed-off-by Alvin Zhang <[email protected]>
--- drivers/net/iavf/iavf_rxtx_vec_sse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/iavf/iavf_rxtx_vec_sse.c +1 -1
@@ -267,7 +267,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: Tuesday, October 27, 2020 6:15 PM
To: Zhang, Qi Z <[email protected]>
Cc: [email protected]; Zhang, AlvinX <[email protected]>; [email protected]
Subject: [PATCH] net/iavf: 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 1162f5a0ef31 ("net/iavf: support flexible Rx 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