brcmfmac: Relax scheduling of msgbuf worker on high throughput.
authorHante Meuleman <meuleman@broadcom.com>
Sun, 25 Jan 2015 19:31:30 +0000 (20:31 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Jan 2015 07:58:49 +0000 (09:58 +0200)
commit5ef1e604194ee629c5d9fd6b9a4d3c424cfd2a84
treeb3f9dc16ca2e8793eb4462b1469744187ffe25da
parent382afc3d055b9ac4d175a4b5b9352128fc091aa3
brcmfmac: Relax scheduling of msgbuf worker on high throughput.

On every tx the flow worker is triggered. When running high
throughput data this causes an excessive amount of times the worker
gets activated. This patch starts scheduling the worker more relaxed
once outstanding tx has reached a certain depth.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/commonring.h
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c