]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_fragmentation/main.c
mbuf: add rte prefix to offload flags
[dpdk.git] / examples / ip_fragmentation / main.c
index 77a6a18d19148a88ca06f2ffe1d25d5e92759a9b..2fa5057c31962bbc449ea27f09a6c18e0a9dd70a 100644 (file)
@@ -295,7 +295,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))