mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: dma: queue more rx frames internally before passing them to the stack
On MT7615 and MT7915, packets received from DMA can include TX_FREE events, which free up space for tx. In order to process those packets faster, keep keep a longer internal queue of packets and pass as many packets to the stack as the NAPI budget allows Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -666,7 +666,7 @@ mt76u_process_rx_queue(struct mt76_dev *dev, struct mt76_queue *q)
|
||||
mt76u_submit_rx_buf(dev, qid, urb);
|
||||
}
|
||||
if (qid == MT_RXQ_MAIN)
|
||||
mt76_rx_poll_complete(dev, MT_RXQ_MAIN, NULL);
|
||||
mt76_rx_poll_complete(dev, MT_RXQ_MAIN, NULL, MT_RX_QUEUE_LEN);
|
||||
}
|
||||
|
||||
static void mt76u_rx_tasklet(unsigned long data)
|
||||
|
||||
Reference in New Issue
Block a user