[ofa-general] Re: [PATCH] IB/ipoib: IPOIB CM rx use higher order fragments
Roland Dreier
rdreier at cisco.com
Wed Oct 24 13:57:08 PDT 2007
> Other drivers do similar allocations. For example, e1000 when working
> with jumbo frames does such large allocations. Also I did not notice
> allocation failures though my system was pretty much active but I can
> monitor for such possible failures.
>
> e1000_main.c line 3549:
>
> else if (max_frame <= E1000_RXBUFFER_16384)
> adapter->rx_buffer_len = E1000_RXBUFFER_16384;
Actually if you read the e1000 code more closely you'll see that on
all hardware that supports it, they use packet splitting to make all
of their allocations be only a single page. And if you do a web
search on the words 'page allocation failure order e1000' you will see
many examples of the problems coming from the old e100 code, which did
higher-order allocations for jumbo frames.
- R.
More information about the general
mailing list