]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: process htt rx indication as batch mode
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 12 Feb 2016 06:10:59 +0000 (11:40 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Mar 2016 17:20:01 +0000 (19:20 +0200)
commit4627e44bbd5550493f4c1beb945db656e78bffbf
treec507757216fa89a89e1ceee37c115da4ae6c1844
parent5692e46576dae5b99295faf9f09950df429a2f4b
ath10k: process htt rx indication as batch mode

On multicore systems, it is possible that txrx tasket can run
in parallel with pci tasklet (i.e smp affinity of ath10k irq is
assigned to multiple CPUs). Feeding and consuming from the same
rx completion list leads to txrx tasklet runs for longer period.
Prevent this by processing a snapshot of rx queue by moving list
into temporary list. Consecutive received frames will be processed
in next batch.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c