]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnx2x/bnx2x.c
common/cnxk: enable backpressure on CPT with inline inbound
[dpdk.git] / drivers / net / bnx2x / bnx2x.c
index 819e54044bc93bf658131ce9ce52a5460879e548..f67db015b5964755ea2db98dd079b91494f35d9c 100644 (file)
@@ -2189,7 +2189,7 @@ int bnx2x_tx_encap(struct bnx2x_tx_queue *txq, struct rte_mbuf *m0)
 
        tx_start_bd->nbd = rte_cpu_to_le_16(2);
 
-       if (m0->ol_flags & PKT_TX_VLAN) {
+       if (m0->ol_flags & RTE_MBUF_F_TX_VLAN) {
                tx_start_bd->vlan_or_ethertype =
                    rte_cpu_to_le_16(m0->vlan_tci);
                tx_start_bd->bd_flags.as_bitfield |=