Skip to contentSkip to conversation

net/iavf: fix Rx offload flags in SSE path

PATCH Applied Zhang,Alvin 2 participants 2 messages Oct 27, 2020 Network drivers

lore
Share & tools
lore
#0 lore raw

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")
---
 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
index 85c5bd4..828b46e 100644
@@ -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
Acked-by on v1 1/1 Applied
#1 lore raw
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")

Applied to dpdk-next-net-intel.

Thanks
Qi