]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb4e84c5606f6c91a3fff96c25b9347dc75b2002d
tree4e411de02aa4d78430972d615c9590ab776843fc
parent98dd2b92bb591007e82fb58808f60134ee4479bf
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