diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-03-13 20:18:56 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:58 +0200 |
commit | 41634aa8d6db9346121f58eed5d94511cdcb0976 (patch) | |
tree | 7ae39dd9a41bd2aaf7710b106f7c7b5ed8cd0407 /drivers/net/wireless/mediatek/mt76/mt7603/dma.c | |
parent | a33b8ab868ad774dfb66e750ebd158887ff8d337 (diff) | |
download | linux-41634aa8d6db9346121f58eed5d94511cdcb0976.tar.gz |
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/mt7603/dma.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7603/dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/dma.c b/drivers/net/wireless/mediatek/mt76/mt7603/dma.c index f7e3566c96fd..27e2d9f90553 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7603/dma.c +++ b/drivers/net/wireless/mediatek/mt76/mt7603/dma.c @@ -145,6 +145,8 @@ mt7603_tx_tasklet(unsigned long data) for (i = MT_TXQ_MCU; i >= 0; i--) mt76_queue_tx_cleanup(dev, i, false); + mt76_txq_schedule_all(&dev->mt76); + mt7603_irq_enable(dev, MT_INT_TX_DONE_ALL); } |