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
vdpa/ifc: add block device SW live-migration
[dpdk.git]
/
examples
/
ip_fragmentation
/
main.c
diff --git
a/examples/ip_fragmentation/main.c
b/examples/ip_fragmentation/main.c
index
4ffe997
..
78205d2
100644
(file)
--- a/
examples/ip_fragmentation/main.c
+++ b/
examples/ip_fragmentation/main.c
@@
-298,7
+298,7
@@
l3fwd_simple_forward(struct rte_mbuf *m, struct lcore_queue_conf *qconf,
rte_pktmbuf_free(m);
/* request HW to regenerate IPv4 cksum */
- ol_flags |= (
PKT_TX_IPV4 | PKT
_TX_IP_CKSUM);
+ ol_flags |= (
RTE_MBUF_F_TX_IPV4 | RTE_MBUF_F
_TX_IP_CKSUM);
/* If we fail to fragment the packet */
if (unlikely (len2 < 0))