diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-03-13 22:18:56 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 14:03:58 +0300 |
commit | 41634aa8d6db9346121f58eed5d94511cdcb0976 (patch) | |
tree | 7ae39dd9a41bd2aaf7710b106f7c7b5ed8cd0407 /drivers/net/wireless/mediatek/mt76/dma.c | |
parent | a33b8ab868ad774dfb66e750ebd158887ff8d337 (diff) | |
download | linux-41634aa8d6db9346121f58eed5d94511cdcb0976.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/dma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c index e4a5b34915bf..5c592566acbb 100644 --- a/drivers/net/wireless/mediatek/mt76/dma.c +++ b/drivers/net/wireless/mediatek/mt76/dma.c @@ -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); } |