]> err.no Git - linux-2.6/commit
[BNX2]: Enable S/G for jumbo RX.
authorMichael Chan <mchan@broadcom.com>
Wed, 12 Dec 2007 19:19:57 +0000 (11:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:32 +0000 (14:57 -0800)
commit84eaa1877137def7fe01340f2abbad510aa890f5
treeed964fded82e861d4566dbaa16594625f9bce77c
parent1db82f2aec0766edd4a4f8d86283e91559350de7
[BNX2]: Enable S/G for jumbo RX.

If the MTU requires more than 1 page for the SKB, enable the page ring
and calculate the size of the page ring.  This will guarantee order-0
allocation regardless of the MTU size.

Fixup loopback test packet size so that we don't deal with the pages
during loopback test.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c