]> git.droids-corp.org - dpdk.git/blobdiff - examples/skeleton/basicfwd.c
ethdev: add namespace
[dpdk.git] / examples / skeleton / basicfwd.c
index fd7207aee7584001f86fea226289d4083c67d078..16435ee3ccc2a97f8fde567d105cea6cf6a11ae0 100644 (file)
@@ -49,9 +49,9 @@ port_init(uint16_t port, struct rte_mempool *mbuf_pool)
                return retval;
        }
 
-       if (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_MBUF_FAST_FREE)
+       if (dev_info.tx_offload_capa & RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE)
                port_conf.txmode.offloads |=
-                       DEV_TX_OFFLOAD_MBUF_FAST_FREE;
+                       RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE;
 
        /* Configure the Ethernet device. */
        retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf);