net/cxgbe: support flow API for destination MAC rewrite
[dpdk.git] / drivers / net / cxgbe / base / t4_regs_values.h
index a9414d2..e3f549e 100644 (file)
 #define W_FT_MPSHITTYPE                        3
 #define W_FT_FRAGMENTATION             1
 
+/*
+ * Some of the Compressed Filter Tuple fields have internal structure.  These
+ * bit shifts/masks describe those structures.  All shifts are relative to the
+ * base position of the fields within the Compressed Filter Tuple
+ */
+#define S_FT_VLAN_VLD                  16
+#define V_FT_VLAN_VLD(x)               ((x) << S_FT_VLAN_VLD)
+#define F_FT_VLAN_VLD                  V_FT_VLAN_VLD(1U)
+
 #endif /* __T4_REGS_VALUES_H__ */