|
@@ -4930,9 +4930,7 @@ static void bnxt_tx_disable(struct bnxt *bp)
|
|
for (i = 0; i < bp->tx_nr_rings; i++) {
|
|
for (i = 0; i < bp->tx_nr_rings; i++) {
|
|
txr = &bp->tx_ring[i];
|
|
txr = &bp->tx_ring[i];
|
|
txq = netdev_get_tx_queue(bp->dev, i);
|
|
txq = netdev_get_tx_queue(bp->dev, i);
|
|
- __netif_tx_lock(txq, smp_processor_id());
|
|
|
|
txr->dev_state = BNXT_DEV_STATE_CLOSING;
|
|
txr->dev_state = BNXT_DEV_STATE_CLOSING;
|
|
- __netif_tx_unlock(txq);
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/* Stop all TX queues */
|
|
/* Stop all TX queues */
|