net/bnxt: remove unused txq flags
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.
Signed-off-by Ajit Khaparde <[email protected]>
--- 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
@@ -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
@@ -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)
Ferruh Yigit
AppliedQuoted 4 lines · Ajit Khaparde
We are still using the
txq_flagswhich is no longer needed with the new offload API. Cleaning it up.Signed-off-by Ajit Khaparde <[email protected]>
Applied to dpdk-next-net/master, thanks.