From: Alvin Zhang Date: Fri, 18 Jun 2021 08:38:21 +0000 (+0800) Subject: net/i40e: fix L2 payload RSS mask input set X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ef5d24fbfb235d82d9b824b81eedc33f0f092f62;p=dpdk.git 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 --- 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)