ath10k: reduce rx_lock contention for htt rx indication
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 12 Feb 2016 06:10:58 +0000 (11:40 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Mar 2016 17:20:01 +0000 (19:20 +0200)
commite7827e512af01c6220e2f1cc53853f11cd742eef
tree1033ef1a5dec8057cddb5eb652c79f9b059c377c
parent22baa98097df3eb92a51e8661fda5dd7c0f1eb93
ath10k: reduce rx_lock contention for htt rx indication

Received frame indications are queued into a skb list and latest
processed by txrx tasklet. This skb queue is protected by htt rx lock.
Since the entire rx processing till delivering frame to mac80211 and
replenish tasks are processed under rx_lock protection, there might be
some delay in queuing newly received rx frame into that list on
multicore systems. Optimize this by using skb list lock while accessing
rx completion queue instead of htt rx lock.

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