Skip to contentSkip to conversation

net/bnxt: remove unused txq flags

PATCH Applied Ajit Khaparde 2 participants 2 messages May 1, 2018 – May 4, 2018 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/bnxt: remove unused txq flags

We are still using the txq_flags which is no longer needed with the new offload API. Cleaning it up.

---
 drivers/net/bnxt/bnxt_ethdev.c | 1 -
 drivers/net/bnxt/bnxt_txq.h    | 1 -
 2 files changed, 2 deletions(-)
drivers/net/bnxt/bnxt_ethdev.c +0 -1
index dc445f9a5..2fbb48b4b 100644
@@ -1536,7 +1536,6 @@ bnxt_txq_info_get_op(struct rte_eth_dev *dev, uint16_t queue_id,
 
 	qinfo->conf.tx_free_thresh = txq->tx_free_thresh;
 	qinfo->conf.tx_rs_thresh = 0;
-	qinfo->conf.txq_flags = txq->txq_flags;
 	qinfo->conf.tx_deferred_start = txq->tx_deferred_start;
 }
 
drivers/net/bnxt/bnxt_txq.h +0 -1
index 8df87148f..720ca90cf 100644
@@ -22,7 +22,6 @@ struct bnxt_tx_queue {
 	uint8_t			pthresh; /* Prefetch threshold register */
 	uint8_t			hthresh; /* Host threshold register */
 	uint8_t			wthresh; /* Write-back threshold reg */
-	uint32_t		txq_flags; /* Holds flags for this TXq */
 	uint32_t		ctx_curr; /* Hardware context states */
 	uint8_t			tx_deferred_start; /* not in global dev start */
 
Signature · 1 line
2.15.1 (Apple Git-101)
Applied
#1 lore raw
Quoted 4 lines · Ajit Khaparde

We are still using the txq_flags which is no longer needed with the new offload API. Cleaning it up.

Applied to dpdk-next-net/master, thanks.