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)
commitda6416cac6b9439167964cae1302d9cfe764bf1d
treec507757216fa89a89e1ceee37c115da4ae6c1844
parente7827e512af01c6220e2f1cc53853f11cd742eef
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