]> git.droids-corp.org - dpdk.git/blobdiff - examples/flow_classify/flow_classify.c
regex/mlx5: remove RXP CSR file
[dpdk.git] / examples / flow_classify / flow_classify.c
index 8a43f6ac0f92bd82a8ff423f76a7acdf4f5b2f88..6185b340600ce596a194fc5fa1e9b45a72c462e1 100644 (file)
@@ -212,9 +212,9 @@ port_init(uint8_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);