]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/vhost/rte_eth_vhost.c
mbuf: add rte prefix to offload flags
[dpdk.git] / drivers / net / vhost / rte_eth_vhost.c
index a202931e9aed2010a6ad4265b3214fa8a0b36d2e..0cead44b33d28d9f9094bfc98deb498bab69dd52 100644 (file)
@@ -444,7 +444,7 @@ eth_vhost_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs)
                struct rte_mbuf *m = bufs[i];
 
                /* Do VLAN tag insertion */
-               if (m->ol_flags & PKT_TX_VLAN_PKT) {
+               if (m->ol_flags & RTE_MBUF_F_TX_VLAN_PKT) {
                        int error = rte_vlan_insert(&m);
                        if (unlikely(error)) {
                                rte_pktmbuf_free(m);