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
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
gso
/
gso_tunnel_tcp4.c
diff --git
a/lib/gso/gso_tunnel_tcp4.c
b/lib/gso/gso_tunnel_tcp4.c
index
166aace
..
1a7ef30
100644
(file)
--- a/
lib/gso/gso_tunnel_tcp4.c
+++ b/
lib/gso/gso_tunnel_tcp4.c
@@
-37,7
+37,7
@@
update_tunnel_ipv4_tcp_headers(struct rte_mbuf *pkt, uint8_t ipid_delta,
tail_idx = nb_segs - 1;
/* Only update UDP header for VxLAN packets. */
tail_idx = nb_segs - 1;
/* Only update UDP header for VxLAN packets. */
- update_udp_hdr = (pkt->ol_flags &
PKT
_TX_TUNNEL_VXLAN) ? 1 : 0;
+ update_udp_hdr = (pkt->ol_flags &
RTE_MBUF_F
_TX_TUNNEL_VXLAN) ? 1 : 0;
for (i = 0; i < nb_segs; i++) {
update_ipv4_header(segs[i], outer_ipv4_offset, outer_id);
for (i = 0; i < nb_segs; i++) {
update_ipv4_header(segs[i], outer_ipv4_offset, outer_id);