]> 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)
commiteb2735be879d67f7e95ffa564d96115cd34aa735
tree4e411de02aa4d78430972d615c9590ab776843fc
parent69336f357d935f32f4db00da45e0d5b544f01b7d
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