net/bnxt: remove stale compilation option
[dpdk.git] / drivers / net / bnxt / bnxt_rxtx_vec_sse.c
index 9a53d1f..ffd5601 100644 (file)
@@ -320,7 +320,7 @@ bnxt_handle_tx_cp_vec(struct bnxt_tx_queue *txq)
                cons = RING_CMPL(ring_mask, raw_cons);
                txcmp = (struct tx_cmpl *)&cp_desc_ring[cons];
 
-               if (!CMP_VALID(txcmp, raw_cons, cp_ring_struct))
+               if (!bnxt_cpr_cmp_valid(txcmp, raw_cons, ring_mask + 1))
                        break;
 
                if (likely(CMP_TYPE(txcmp) == TX_CMPL_TYPE_TX_L2))
@@ -333,7 +333,7 @@ bnxt_handle_tx_cp_vec(struct bnxt_tx_queue *txq)
        } while (nb_tx_pkts < ring_mask);
 
        if (nb_tx_pkts) {
-               if (txq->offloads & DEV_TX_OFFLOAD_MBUF_FAST_FREE)
+               if (txq->offloads & RTE_ETH_TX_OFFLOAD_MBUF_FAST_FREE)
                        bnxt_tx_cmp_vec_fast(txq, nb_tx_pkts);
                else
                        bnxt_tx_cmp_vec(txq, nb_tx_pkts);