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)
commit1f8bb1518eee321d94477ca7bcbb153c47d43ba4
tree1d2242d63ab28b1de5c4a67b5b749ba8fd1a9437
parent2f3773bcaf9fbf3ddb9d4315e3a3ca5e4b376cef
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