net/bnxt: support bulk free of Tx mbufs
[dpdk.git] / drivers / net / bnxt / bnxt_txq.h
index f2c712a..a0d4678 100644 (file)
@@ -24,7 +24,6 @@ struct bnxt_tx_queue {
        uint8_t                 wthresh; /* Write-back threshold reg */
        uint32_t                ctx_curr; /* Hardware context states */
        uint8_t                 tx_deferred_start; /* not in global dev start */
-       uint8_t                 cmpl_next; /* Next BD to trigger a compl */
 
        struct bnxt             *bp;
        int                     index;
@@ -34,6 +33,7 @@ struct bnxt_tx_queue {
        unsigned int            cp_nr_rings;
        struct bnxt_cp_ring_info        *cp_ring;
        const struct rte_memzone *mz;
+       struct rte_mbuf **free;
 };
 
 void bnxt_free_txq_stats(struct bnxt_tx_queue *txq);