summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/ce.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>2015-10-23 18:01:06 +0530
committerKalle Valo <kvalo@qca.qualcomm.com>2015-10-29 12:59:04 +0200
commitb4c306d0c53ec1b444a4da1f1a3fefaace6b486e (patch)
treebb428114b0b0b48e11f7e9ff3c0d647e8ede11c2 /drivers/net/wireless/ath/ath10k/ce.h
parent765952e40dbadd4a74a44f55ac1344c338571bb9 (diff)
downloadlinux-stable-b4c306d0c53ec1b444a4da1f1a3fefaace6b486e.tar.gz
linux-stable-b4c306d0c53ec1b444a4da1f1a3fefaace6b486e.tar.bz2
linux-stable-b4c306d0c53ec1b444a4da1f1a3fefaace6b486e.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/ce.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/ce.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath10k/ce.h b/drivers/net/wireless/ath/ath10k/ce.h
index 67f90ec5de53..47b734ce7ecf 100644
--- a/drivers/net/wireless/ath/ath10k/ce.h
+++ b/drivers/net/wireless/ath/ath10k/ce.h
@@ -100,12 +100,6 @@ struct ath10k_ce_ring {
/* CE address space */
u32 base_addr_ce_space;
- /*
- * Start of shadow copy of descriptors, within regular memory.
- * Aligned to descriptor-size boundary.
- */
- void *shadow_base_unaligned;
- struct ce_desc *shadow_base;
/* keep last */
void *per_transfer_context[0];