git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/bnxt: add access to NAT global register
[dpdk.git]
/
drivers
/
net
/
bnxt
/
tf_ulp
/
bnxt_ulp.h
diff --git
a/drivers/net/bnxt/tf_ulp/bnxt_ulp.h
b/drivers/net/bnxt/tf_ulp/bnxt_ulp.h
index
f9e5e2b
..
7c95ead
100644
(file)
--- a/
drivers/net/bnxt/tf_ulp/bnxt_ulp.h
+++ b/
drivers/net/bnxt/tf_ulp/bnxt_ulp.h
@@
-14,6
+14,10
@@
#include "ulp_template_db_enum.h"
#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)
/* 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)