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
raw/octeontx2_ep: add enqueue operation
[dpdk.git]
/
examples
/
tep_termination
/
vxlan.h
diff --git
a/examples/tep_termination/vxlan.h
b/examples/tep_termination/vxlan.h
index
780ae73
..
587fb9f
100644
(file)
--- a/
examples/tep_termination/vxlan.h
+++ b/
examples/tep_termination/vxlan.h
@@
-7,6
+7,7
@@
#include <rte_ether.h>
#include <rte_ip.h>
#include <rte_ether.h>
#include <rte_ip.h>
+#include <rte_vxlan.h>
#define PORT_MIN 49152
#define PORT_MAX 65535
#define PORT_MIN 49152
#define PORT_MAX 65535
@@
-14,9
+15,8
@@
#define VXLAN_N_PORTS 2
#define VXLAN_HF_VNI 0x08000000
#define VXLAN_N_PORTS 2
#define VXLAN_HF_VNI 0x08000000
-#define DEFAULT_VXLAN_PORT 4789
-extern struct ipv4_hdr app_ip_hdr[VXLAN_N_PORTS];
+extern struct
rte_
ipv4_hdr app_ip_hdr[VXLAN_N_PORTS];
extern struct rte_ether_hdr app_l2_hdr[VXLAN_N_PORTS];
extern uint8_t tx_checksum;
extern uint16_t tso_segsz;
extern struct rte_ether_hdr app_l2_hdr[VXLAN_N_PORTS];
extern uint8_t tx_checksum;
extern uint16_t tso_segsz;