diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2013-07-01 08:19:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-08-01 15:49:34 -0400 |
commit | c1de4a9557d9e25e41fc4ba034b9659152205539 (patch) | |
tree | 280ba352c7b952f279493ecd8b6d8f5862330672 /drivers/net/wireless/iwlegacy/3945-rs.c | |
parent | 092c46498e76904a3c21124131a29edff56ce3ed (diff) |
iwl4965: better skb management in rx path
4965 version of Eric patch "iwl3945: better skb management in rx path".
It fixes several problems :
1) skb->truesize is underestimated.
We really consume PAGE_SIZE bytes for a fragment,
not the frame length.
2) 128 bytes of initial headroom is a bit low and forces reallocations.
3) We can avoid consuming a full page for small enough frames.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945-rs.c')
0 files changed, 0 insertions, 0 deletions