From: Ajit Khaparde Date: Tue, 1 May 2018 22:50:52 +0000 (-0700) Subject: net/bnxt: remove unused Txq flags X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ac0ba3e1513550c553e7dd2f1272bf9677c550d5;p=dpdk.git 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 --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 348129dad6..7c29bff8cb 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1527,7 +1527,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; } diff --git a/drivers/net/bnxt/bnxt_txq.h b/drivers/net/bnxt/bnxt_txq.h index 8df87148fb..720ca90cff 100644 --- a/drivers/net/bnxt/bnxt_txq.h +++ b/drivers/net/bnxt/bnxt_txq.h @@ -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 */