linux_old1/drivers/net/ixgbe
Jesse Brandeburg 32344a3940 ixbge: fix bug when using large pages and jumbo frames
it was pointed out on the list that ixgbe was failing when using 64kB pages
and large 16kB MTU.

since with a 64kB PAGE_SIZE MAX_SKB_FRAGS = 3, the way the driver was
configuring page usage was assuming 2kB is half a page, and was only
ever dmaing that much data to a half page.

(16kB - header size) / 2048 = 7 or 8 pages, which would far exceed 3

adjust the driver to account for these large pages, the hardware can
support DMA to up to 16kB for each descriptor.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-02-24 16:37:31 -08:00
..
Makefile ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe.h ixbge: fix bug when using large pages and jumbo frames 2009-02-24 16:37:31 -08:00
ixgbe_82598.c drivers/net/ixgbe: fix sparse warning: Should it be static? 2009-02-17 17:37:58 -08:00
ixgbe_common.c ixgbe: Update flow control state machine in link setup 2009-02-06 21:46:54 -08:00
ixgbe_common.h ixgbe: Update flow control state machine in link setup 2009-02-06 21:46:54 -08:00
ixgbe_dcb.c ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_82598.c ixgbe: Update flow control state machine in link setup 2009-02-06 21:46:54 -08:00
ixgbe_dcb_82598.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_dcb_nl.c ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_ethtool.c ixgbe: Update flow control state machine in link setup 2009-02-06 21:46:54 -08:00
ixgbe_main.c ixbge: fix bug when using large pages and jumbo frames 2009-02-24 16:37:31 -08:00
ixgbe_phy.c ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_phy.h ixgbe: Update copyright dates, bump the driver version number 2009-02-01 01:19:20 -08:00
ixgbe_type.h ixgbe: Update flow control state machine in link setup 2009-02-06 21:46:54 -08:00