X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Fbnxt_txr.h;h=e4bd90f8835d2ce5076472d815215e736839d133;hb=ed9726ce83eb7562b3dcfaf0ee10647ed816ae4a;hp=91e10dbd7302a2b1d47af4ad95169bbea3c2bd86;hpb=4fb6ab3f866d64e72d4bfd1a15ce5127f8fb0043;p=dpdk.git diff --git a/drivers/net/bnxt/bnxt_txr.h b/drivers/net/bnxt/bnxt_txr.h index 91e10dbd73..e4bd90f883 100644 --- a/drivers/net/bnxt/bnxt_txr.h +++ b/drivers/net/bnxt/bnxt_txr.h @@ -17,18 +17,13 @@ struct bnxt_tx_ring_info { struct bnxt_db_info tx_db; struct tx_bd_long *tx_desc_ring; - struct bnxt_sw_tx_bd *tx_buf_ring; + struct rte_mbuf **tx_buf_ring; rte_iova_t tx_desc_mapping; struct bnxt_ring *tx_ring_struct; }; -struct bnxt_sw_tx_bd { - struct rte_mbuf *mbuf; /* mbuf associated with TX descriptor */ - unsigned short nr_bds; -}; - static inline uint32_t bnxt_tx_bds_in_hw(struct bnxt_tx_queue *txq) { return ((txq->tx_ring->tx_raw_prod - txq->tx_ring->tx_raw_cons) &