On Fri, Aug 11, 2006 at 05:27:30PM -0700, David Miller wrote: > > E1000 wants 16K buffers for jumbo MTU settings. > > The reason is that the chip can only handle power-of-2 buffer > sizes, and next hop from 9K is 16K. > > It is not possible to tell the chip to only accept 9K packets, you > must give it the whole next power of 2 buffer size for the MTU you > wish to use. > > With skb_shared_info() overhead this becomes a 32K allocation > in the simplest implementation.
I think is no longer an issue because we've all come to the conclusion that E1000 supports SG and therefore we can and should use 4K pages, no? Whatever we do here, allocating 16K via kmalloc is very unlikely to succeed in the near future so we have to via the SG route anyway. In which case that we must have a head area which can accomodate the skb_shared_info as we do now. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html