]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: use msdu headroom to store txfrag
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 18 Sep 2013 12:43:22 +0000 (14:43 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 20 Sep 2013 05:18:10 +0000 (08:18 +0300)
commit0881a0150acff198014abdb776cc2031d8add943
tree1d2242d63ab28b1de5c4a67b5b749ba8fd1a9437
parent47a5e0f9c6af27d68f4f0cfc26f924416fc01d1b
ath10k: use msdu headroom to store txfrag

Instead of allocating sk_buff for a mere 16-byte
tx fragment list buffer use headroom of the
original msdu sk_buff.

This decreases CPU cache pressure and improves
performance.

Measured improvement on AP135 is 560mbps ->
590mbps of UDP TX briding traffic.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/txrx.c