]> asedeno.scripts.mit.edu Git - linux.git/commit
ath10k: use pre-allocated DMA buffer in Tx
authorPeter Oh <poh@qca.qualcomm.com>
Mon, 5 Oct 2015 14:56:40 +0000 (17:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 6 Oct 2015 12:04:12 +0000 (15:04 +0300)
commit683b95e8071603b4e945cb26dcae0308457ec478
tree9438b8008f1d4e526a98542b0dbe666d3702cb7e
parentbc27e8cddda69daa324318ffe3d2e1badad07775
ath10k: use pre-allocated DMA buffer in Tx

ath10k driver is using dma_pool_alloc per packet and dma_pool_free
in coresponding at Tx completion.
Use of pre-allocated DMA buffer in Tx will improve saving CPU resource
by 5% while it consumes about 56KB memory more as trade off.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/txrx.c