]> 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)
commit8b97363888a45550e43f06d787c7ac2acd06c8d3
tree3e90a85a9631296b3cba32ecb9add6f36477fa7c
parentba33c4cfc66d96bc14cae492c705139395cddcb6
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