> 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.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to