net/i40e: fix L2 payload RSS mask input set
PATCH 1/1 net/i40e: fix L2 payload RSS mask input set
Allow VLAN tag being added to L2 payload packet type RSS input set.
--- drivers/net/i40e/i40e_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/i40e/i40e_hash.c +2 -2
@@ -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)
Signature · 1 line
1.8.3.1
Quoted 42 lines
-----Original Message-----
From: Zhang, AlvinX <[email protected]>
Sent: Friday, June 18, 2021 4:38 PM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Zhang, AlvinX <[email protected]>; [email protected]
Subject: [PATCH] net/i40e: fix L2 payload RSS mask input setAllow VLAN tag being added to L2 payload packet type RSS input set.
Fixes ef4c16fd9148 ("net/i40e: refactor RSS flow")Signed-off-by Alvin Zhang <[email protected]>--- drivers/net/i40e/i40e_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/i40e/i40e_hash.c +2
-2@@ -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 | \drivers/net/i40e/i40e_hash.c +0
-1ETH_RSS_L3_SRC_ONLY | \ ETH_RSS_L3_DST_ONLY) --
Quoted 1 line
1.8.3.1
Zhang, Qi Z
AppliedQuoted 50 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Xing, Beilei
Sent: Monday, June 21, 2021 4:39 PM
To: Zhang, AlvinX <[email protected]>
Cc: [email protected]; [email protected]
Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input setQuoted 39 lines
-----Original Message-----
From: Zhang, AlvinX <[email protected]>
Sent: Friday, June 18, 2021 4:38 PM
To: Xing, Beilei <[email protected]>
Cc: [email protected]; Zhang, AlvinX <[email protected]>; [email protected]
Subject: [PATCH] net/i40e: fix L2 payload RSS mask input setAllow VLAN tag being added to L2 payload packet type RSS input set.
Fixes ef4c16fd9148 ("net/i40e: refactor RSS flow")Signed-off-by Alvin Zhang <[email protected]>--- drivers/net/i40e/i40e_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/net/i40e/i40e_hash.cindex b1cb24f..722edc9 100644drivers/net/i40e/i40e_hash.c +2
-2@@ -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 | \drivers/net/i40e/i40e_hash.c +0
-0ETH_RSS_L3_SRC_ONLY | \ ETH_RSS_L3_DST_ONLY)
Quoted 4 lines
Quoted 2 lines
--
1.8.3.1Acked-by Beilei Xing <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi