OpenCloudOS-Kernel/drivers/net/wireless/iwlegacy
Eric Dumazet 45fe142cef iwl3945: better skb management in rx path
Steinar reported reallocations of skb->head with IPv6, leading to
a warning in skb_try_coalesce()

It turns out iwl3945 has 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.

Reported-by: Steinar H. Gunderson <sesse@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Paul Stewart <pstew@google.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-07-24 11:02:04 -04:00
..
3945-debug.c iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
3945-mac.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2013-06-21 15:42:30 -04:00
3945-rs.c iwlegacy: fix rate control regression 2013-06-12 14:24:22 -04:00
3945.c iwl3945: better skb management in rx path 2013-07-24 11:02:04 -04:00
3945.h wireless: move sequence number arithmetic to ieee80211.h 2013-03-06 16:35:44 +01:00
4965-calib.c iwlegacy: remove enum iw_calib and related code 2012-02-29 14:14:55 -05:00
4965-debug.c iwlegacy: move debugfs_ops to il_priv 2012-02-22 14:51:13 -05:00
4965-mac.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2013-06-21 15:42:30 -04:00
4965-rs.c iwlegacy: fix rate control regression 2013-06-12 14:24:22 -04:00
4965.c mac80211: support secondary channel offset in CSA 2013-04-16 15:29:44 +02:00
4965.h iwlegacy: Use standard #defines for PCIe Capability ASPM fields 2012-12-07 11:19:52 -07:00
Kconfig iwlegacy: Kconfig: Change Debug Option to be more clear 2012-02-29 14:14:55 -05:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
commands.h wireless: move crypto constants to ieee80211.h 2013-05-16 22:39:41 +02:00
common.c iwl4965: workaround for firmware frame tx rejection 2013-06-12 15:06:57 -04:00
common.h iwlegacy: add il_{stop,wake}_queues_by_reason functions 2013-06-12 15:06:56 -04:00
csr.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
iwl-spectrum.h iwlegacy: rename iwl to il 2011-11-15 11:16:58 +01:00
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00