Skip to contentSkip to conversation

i40e: fix issue of setting input set for (double) vlan

PATCH Applied Helin Zhang 2 participants 2 messages Dec 10, 2015 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i40e: fix issue of setting input set for (double) vlan

It corrects the input set values to be set for vlan or double vlan.

Fixes 98f055707685 ("i40e: configure input fields for RSS or flow director")
---
 drivers/net/i40e/i40e_ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/i40e/i40e_ethdev.c +2 -2
index 7e03a1f..22b240c 100644
@@ -207,9 +207,9 @@
 /* Source MAC address */
 #define I40E_REG_INSET_L2_SMAC                   0x1C00000000000000ULL
 /* VLAN tag in the outer L2 header */
-#define I40E_REG_INSET_L2_OUTER_VLAN             0x0000000000800000ULL
+#define I40E_REG_INSET_L2_OUTER_VLAN             0x0080000000000000ULL
 /* VLAN tag in the inner L2 header */
-#define I40E_REG_INSET_L2_INNER_VLAN             0x0000000001000000ULL
+#define I40E_REG_INSET_L2_INNER_VLAN             0x0100000000000000ULL
 /* Source IPv4 address */
 #define I40E_REG_INSET_L3_SRC_IP4                0x0001800000000000ULL
 /* Destination IPv4 address */
Signature · 1 line
1.9.3
#1 lore raw

2015-12-10 18:44, Helin Zhang:

Quoted 6 lines

It corrects the input set values to be set for vlan or double vlan.

Fixes 98f055707685 ("i40e: configure input fields for RSS or flow director")

Applied, thanks