]> 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)
commitbb5aace1ce6051ff58e2d98235d12bddd7d75e12
treec507757216fa89a89e1ceee37c115da4ae6c1844
parent5f5dea0bfd91d6261932f45baae63bf82dcb07a0
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