net/bnxt: add access to NAT global register
[dpdk.git] / drivers / net / bnxt / tf_ulp / bnxt_ulp.h
index f9e5e2b..7c95ead 100644 (file)
 
 #include "ulp_template_db_enum.h"
 
+/* NAT defines to reuse existing inner L2 SMAC and DMAC */
+#define BNXT_ULP_NAT_INNER_L2_HEADER_SMAC      0x2000
+#define BNXT_ULP_NAT_INNER_L2_HEADER_DMAC      0x100
+
 /* defines for the ulp_flags */
 #define BNXT_ULP_VF_REP_ENABLED                0x1
 #define ULP_VF_REP_IS_ENABLED(flag)    ((flag) & BNXT_ULP_VF_REP_ENABLED)