Eric Dumazet 6f0333b8fd r8169: use 50% less ram for RX ring
Using standard skb allocations in r8169 leads to order-3 allocations (if
PAGE_SIZE=4096), because NIC needs 16383 bytes, and skb overhead makes
this bigger than 16384 -> 32768 bytes per "skb"

Using kmalloc() permits to reduce memory requirements of one r8169 nic
by 4Mbytes. (256 frames * 16Kbytes). This is fine since a hardware bug
requires us to copy incoming frames, so we build real skb when doing
this copy.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-16 11:13:18 -07:00
..
2010-09-28 23:30:38 -04:00
2010-09-19 22:43:42 -04:00
2010-08-24 15:28:28 +10:00
2010-09-22 17:22:38 -07:00
2010-09-29 13:17:56 -07:00
2010-10-16 11:13:18 -07:00
2010-09-26 15:54:25 +02:00
2010-10-14 10:45:54 -07:00
2010-10-05 13:33:43 +02:00