From: Przemyslaw Patynowski <przemyslawx.patynow...@intel.com>

Add VLAN bit used during flow director programming, as a part of
input set for HW.

Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynow...@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
---
 drivers/net/i40e/base/i40e_type.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/i40e/base/i40e_type.h 
b/drivers/net/i40e/base/i40e_type.h
index 48d722c1f0..45b38c086b 100644
--- a/drivers/net/i40e/base/i40e_type.h
+++ b/drivers/net/i40e/base/i40e_type.h
@@ -1925,6 +1925,8 @@ struct i40e_lldp_variables {
 #define I40E_L4_DST_MASK               (0x1ULL << I40E_L4_DST_SHIFT)
 #define I40E_VERIFY_TAG_SHIFT          31
 #define I40E_VERIFY_TAG_MASK           (0x3ULL << I40E_VERIFY_TAG_SHIFT)
+#define I40E_VLAN_SRC_SHIFT            55
+#define I40E_VLAN_SRC_MASK             (0x1ULL << I40E_VLAN_SRC_SHIFT)
 
 #define I40E_FLEX_50_SHIFT             13
 #define I40E_FLEX_50_MASK              (0x1ULL << I40E_FLEX_50_SHIFT)
-- 
2.43.5

Reply via email to