]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: remove shadow copy of CE descriptors for source ring
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 23 Oct 2015 12:31:06 +0000 (18:01 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 10:59:04 +0000 (12:59 +0200)
commit3e578fffbd6e6cf7d8c06796df1e1f39e0a42f65
treebb428114b0b0b48e11f7e9ff3c0d647e8ede11c2
parente9c661d43758b75e65a0634db5642e422f1b5434
ath10k: remove shadow copy of CE descriptors for source ring

For the messages from host to target, shadow copy of CE descriptors
are maintained in source ring. Before writing actual CE descriptor,
first shadow copy is filled and then it is copied to CE address space.
To optimize in download path and to reduce d-cache pressure, removing
shadow copy of CE descriptors. This will also reduce driver memory
consumption by 33KB during on device probing.

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