Skip to contentSkip to conversation

net/ice: fix IPv6 fragment RSS L3 dst/src not work

PATCH Applied Ting Xu 2 participants 2 messages Jul 18, 2021 – Jul 22, 2021 Network drivers

lore
Share & tools
lore

Ting Xu

author
#0 lore raw

PATCH 1/1 net/ice: fix IPv6 fragment RSS L3 dst/src not work

Since the header type of IPv6 fragment is wrong, the L3 dst/src RSS hash fields cannot work properly. This patch changed the header type from any to outer.

Fixes f1ea76eb6394 ("net/ice: support RSS hash for IP fragment")
---
 drivers/net/ice/ice_hash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ice/ice_hash.c +1 -1
index bc809e9d23..54d14dfcdd 100644
@@ -153,7 +153,7 @@ struct ice_rss_hash_cfg ipv6_frag_tmplt = {
 	ICE_FLOW_SEG_HDR_ETH | ICE_FLOW_SEG_HDR_IPV6 |
 	ICE_FLOW_SEG_HDR_IPV_FRAG,
 	ICE_FLOW_HASH_ETH | ICE_FLOW_HASH_IPV6,
-	ICE_RSS_ANY_HEADERS,
+	ICE_RSS_OUTER_HEADERS,
 	0
 };
 
Signature · 1 line
2.25.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 11 lines

-----Original Message-----
From: Xu, Ting <[email protected]>
Sent: Sunday, July 18, 2021 10:50 PM
To: [email protected]
Cc: Zhang, Qi Z <[email protected]>; Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>; Xu, Ting <[email protected]>; [email protected]
Subject: [PATCH v1] net/ice: fix IPv6 fragment RSS L3 dst/src not work

Quoted 7 lines

Since the header type of IPv6 fragment is wrong, the L3 dst/src RSS hash fields cannot work properly. This patch changed the header type from any to outer.

Fixes f1ea76eb6394 ("net/ice: support RSS hash for IP fragment")

Applied to dpdk-next-net-intel.

Thanks
Qi