[v1,16/30] net/i40e/base: add X722 defines for input set mask
Checks
Commit Message
From: Slawomir Laba <slawomirx.laba@intel.com>
Add X722 input set mask for RSS and flow director.
X722 family is using different shifts on the registers
from X710 NIC family.
Signed-off-by: Slawomir Laba <slawomirx.laba@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
drivers/net/i40e/base/i40e_type.h | 4 ++++
1 file changed, 4 insertions(+)
@@ -1911,6 +1911,10 @@ struct i40e_lldp_variables {
#define I40E_PFQF_CTL_0_HASHLUTSIZE_512 0x00010000
/* INPUT SET MASK for RSS, flow director, and flexible payload */
+#define I40E_X722_L3_SRC_SHIFT 49
+#define I40E_X722_L3_SRC_MASK (0x3ULL << I40E_X722_L3_SRC_SHIFT)
+#define I40E_X722_L3_DST_SHIFT 41
+#define I40E_X722_L3_DST_MASK (0x3ULL << I40E_X722_L3_DST_SHIFT)
#define I40E_L3_SRC_SHIFT 47
#define I40E_L3_SRC_MASK (0x3ULL << I40E_L3_SRC_SHIFT)
#define I40E_L3_V6_SRC_SHIFT 43