net/bnxt: fix freeing all VNICs during port stop
[dpdk.git] / drivers / net / bnxt / bnxt_txq.h
index 9190e3f..37a3f95 100644 (file)
@@ -24,6 +24,7 @@ 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                 tx_started; /* TX queue is started */
 
        struct bnxt             *bp;
        int                     index;
@@ -32,7 +33,6 @@ struct bnxt_tx_queue {
 
        unsigned int            cp_nr_rings;
        struct bnxt_cp_ring_info        *cp_ring;
-       struct bnxt_cp_ring_info        *nq_ring;
        const struct rte_memzone *mz;
        struct rte_mbuf **free;
 };