mt76: only schedule txqs from the tx tasklet
Reduces lock contention from the tx path and improves performance Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -205,8 +205,6 @@ mt76_dma_tx_cleanup(struct mt76_dev *dev, enum mt76_txq_id qid, bool flush)
|
||||
|
||||
spin_unlock_bh(&q->lock);
|
||||
|
||||
if (!flush)
|
||||
mt76_txq_schedule(dev, qid);
|
||||
if (wake)
|
||||
ieee80211_wake_queue(dev->hw, qid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user