]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: prevent txrx running for too long
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 13 Jan 2016 13:52:52 +0000 (14:52 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 21 Jan 2016 11:50:29 +0000 (13:50 +0200)
commitc32b1c64cfb2e1c239ceac23b61956fa813fb979
treea95f38fa4a0eabdd72a40ab535008b1f32619757
parent9112c67a7b4e987678e29b6881c7641d5521fcb3
ath10k: prevent txrx running for too long

On multicore systems it was possible for the txrx
tasklet to keep on running for long periods of
time on a single CPU due to tx completion
processing. Another CPU could feed the running
tasklet for an indefinite amount of time.

The tasklet is now guaranteed to run a finite
amount of time and is limited by HTT CE Rx ring
depth.

This improves behavior when RPS is used on target
system and might improve TCP handling as well.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c