net/i40e: fix outer VLAN bitmask for input set
PATCH 1/1 net/i40e: fix outer VLAN bitmask for input set
This patch changes bitmask of outer VLAN tag in L2 header to support RSS and flow director for QinQ.
Fixes 4072d503aaa5 ("i40e: fix VLAN bitmasks for input set")
Signed-off-by Beilei Xing <[email protected]>
--- drivers/net/i40e/i40e_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/i40e/i40e_ethdev.c +1 -1
@@ -202,7 +202,7 @@/* Source MAC address */ #define I40E_REG_INSET_L2_SMAC 0x1C00000000000000ULL/* Outer (S-Tag) VLAN tag in the outer L2 header */ -#define I40E_REG_INSET_L2_OUTER_VLAN 0x0200000000000000ULL +#define I40E_REG_INSET_L2_OUTER_VLAN 0x0000000004000000ULL/* Inner (C-Tag) or single VLAN tag in the outer L2 header */ #define I40E_REG_INSET_L2_INNER_VLAN 0x0080000000000000ULL/* Single VLAN tag in the inner L2 header */
Signature · 1 line
2.5.0
Quoted 9 lines
-----Original Message-----
From: Xing, Beilei
Sent: Monday, September 12, 2016 5:27 PM
To: Wu, Jingjing
Cc: [email protected]; Xing, Beilei
Subject: [PATCH] net/i40e: fix outer VLAN bitmask for input set
Quoted 5 lines
This patch changes bitmask of outer VLAN tag in L2 header to support RSS and flow director for QinQ.
Fixes 4072d503aaa5 ("i40e: fix VLAN bitmasks for input set")
HI, Beilei
I think this fix is based on " net/i40e: fix parsing QinQ packets type issue"
http://dpdk.org/dev/patchwork/patch/15267/.
Could you merge them to a one patch.