]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: use local memory instead of shadow descriptor in ce_send
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 23 Oct 2015 12:31:03 +0000 (18:01 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 29 Oct 2015 10:57:44 +0000 (12:57 +0200)
commit90bdbe0bb053c475c10b65712e4807d0cf2038f6
tree4e411de02aa4d78430972d615c9590ab776843fc
parentb5a1f03f02b9728874f507ad84d34e27b21eb890
ath10k: use local memory instead of shadow descriptor in ce_send

Currently to avoid uncached memory access while filling up copy engine
descriptors, shadow descriptors are used. This can be optimized further
by removing shadow descriptors. To achieve that first shadow ring
dependency in ce_send is removed by creating local copy of the
descriptor on stack and make a one-shot copy into the "uncached"
descriptor.

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