mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: convert from tx tasklet to tx worker thread
This should improve performance by allowing the scheduler to move the tx scheduling work to idle CPUs Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-2
@@ -165,7 +165,7 @@ static int mt7603_poll_tx(struct napi_struct *napi, int budget)
|
||||
|
||||
mt7603_mac_sta_poll(dev);
|
||||
|
||||
tasklet_schedule(&dev->mt76.tx_tasklet);
|
||||
mt76_worker_schedule(&dev->mt76.tx_worker);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -249,6 +249,5 @@ void mt7603_dma_cleanup(struct mt7603_dev *dev)
|
||||
MT_WPDMA_GLO_CFG_RX_DMA_EN |
|
||||
MT_WPDMA_GLO_CFG_TX_WRITEBACK_DONE);
|
||||
|
||||
tasklet_kill(&dev->mt76.tx_tasklet);
|
||||
mt76_dma_cleanup(&dev->mt76);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user