From 0fff4ae4a96b7c6f7577d997f11c727007f68219 Mon Sep 17 00:00:00 2001 From: Ting Xu Date: Sun, 18 Jul 2021 22:50:17 +0800 Subject: [PATCH] net/ice: fix L3 RSS with IPv6 fragment 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") Cc: stable@dpdk.org Signed-off-by: Ting Xu Acked-by: Qi Zhang --- drivers/net/ice/ice_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c index bc809e9d23..54d14dfcdd 100644 --- a/drivers/net/ice/ice_hash.c +++ b/drivers/net/ice/ice_hash.c @@ -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 }; -- 2.39.5