[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090224.163741.23168667.davem@davemloft.net>
Date: Tue, 24 Feb 2009 16:37:41 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: netdev@...r.kernel.org, gospo@...hat.com,
jesse.brandeburg@...el.com, leitao@...ux.vnet.ibm.com
Subject: Re: [net-next PATCH 2/2] ixbge: fix bug when using large pages and
jumbo frames
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Tue, 24 Feb 2009 15:40:56 -0800
> 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@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists