ath9k: use split rx buffers to get rid of order-1 skb allocations
authorFelix Fietkau <[email protected]>
Wed, 26 Jan 2011 17:23:27 +0000 (18:23 +0100)
committerJohn W. Linville <[email protected]>
Fri, 28 Jan 2011 20:44:28 +0000 (15:44 -0500)
commit0d95521ea74735826cb2e28bebf6a07392c75bfa
tree593a9acbca2a6246f4244855bc7d4498b6dfa5bd
parent4d9067405c21e8596087d929f3d858d0aa5002ff
ath9k: use split rx buffers to get rid of order-1 skb allocations

With this change, less CPU time is spent trying to look for consecutive
pages for rx skbs. This also reduces the socket memory required for IP/UDP
reassembly.
Only two buffers per frame are supported. Frames spanning more buffers
will be dropped, but the buffer size is enough to handle the required
AMSDU size.

Signed-off-by: Jouni Malinen <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/recv.c