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
ring: guarantee load/load order in enqueue and dequeue
[dpdk.git]
/
examples
/
tep_termination
/
vxlan.c
diff --git
a/examples/tep_termination/vxlan.c
b/examples/tep_termination/vxlan.c
index
109e93a
..
9f0e836
100644
(file)
--- a/
examples/tep_termination/vxlan.c
+++ b/
examples/tep_termination/vxlan.c
@@
-221,7
+221,7
@@
encapsulation(struct rte_mbuf *m, uint8_t queue_id)
/* copy in IP header */
ip = rte_memcpy(ip, &app_ip_hdr[vport_id],
sizeof(struct ipv4_hdr));
- ip->total_length = rte_cpu_to_be_16(m->
data
_len
+ ip->total_length = rte_cpu_to_be_16(m->
pkt
_len
- sizeof(struct ether_hdr));
/* outer IP checksum */