[ofa-general] Re: [PATCH] IB/ipoib: IPOIB CM rx use higher order fragments

Roland Dreier rdreier at cisco.com
Thu Oct 25 10:14:42 PDT 2007


 > We will allocate compound pages of order 2 at initialization time using
 > GFP_KERNEL. Then we take a reference on each of these pages and put them
 > in a free list. Allocating a page will then be done from this this free
 > list. We will also put a destructor on the SKB and return the pages to
 > the free list when the destructor is called.
 > We can also peridically push to the work queue a task that manages the
 > size of the list.

Seems too complicated to put into a driver.  It might make sense as a
generic service like the software LRO stuff; probably almost all
high-speed NICs would want to share it to save allocating overhead.

 - R.



More information about the general mailing list