From ef5d24fbfb235d82d9b824b81eedc33f0f092f62 Mon Sep 17 00:00:00 2001 From: Alvin Zhang Date: Fri, 18 Jun 2021 16:38:21 +0800 Subject: [PATCH] net/i40e: fix L2 payload RSS mask input set Allow VLAN tag being added to L2 payload packet type RSS input set. Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow") Cc: stable@dpdk.org Signed-off-by: Alvin Zhang Acked-by: Beilei Xing --- drivers/net/i40e/i40e_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_hash.c b/drivers/net/i40e/i40e_hash.c index 0cef21c88f..8787a6996d 100644 --- a/drivers/net/i40e/i40e_hash.c +++ b/drivers/net/i40e/i40e_hash.c @@ -201,11 +201,11 @@ struct i40e_hash_match_pattern { #define I40E_HASH_MAP_CUS_PATTERN(pattern, rss_mask, cus_pctype) { \ pattern, rss_mask, true, cus_pctype } -#define I40E_HASH_L2_RSS_MASK (ETH_RSS_ETH | ETH_RSS_L2_SRC_ONLY | \ +#define I40E_HASH_L2_RSS_MASK (ETH_RSS_VLAN | ETH_RSS_ETH | \ + ETH_RSS_L2_SRC_ONLY | \ ETH_RSS_L2_DST_ONLY) #define I40E_HASH_L23_RSS_MASK (I40E_HASH_L2_RSS_MASK | \ - ETH_RSS_VLAN | \ ETH_RSS_L3_SRC_ONLY | \ ETH_RSS_L3_DST_ONLY) -- 2.20.1