]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: retry rx polling as long as there is budget left
authorFelix Fietkau <nbd@nbd.name>
Wed, 24 Jan 2018 15:19:10 +0000 (16:19 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Jan 2018 09:18:31 +0000 (11:18 +0200)
commite93ca8148496ddf18747ef6efe432d3bf512c734
tree3e90a85a9631296b3cba32ecb9add6f36477fa7c
parent02830e9dfb6088359e832815ef0b2fcea4b2e449
mt76: retry rx polling as long as there is budget left

Sending frames to mac80211 needs time, which could allow for more rx
packets to end up in the DMA ring. Retry polling until there are no more
frames left. Improves rx latency under load.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/dma.c