[openib-general] Re: [PATCH] TX/RX_RING_SIZE as loadable parameters

Roland Dreier rdreier at cisco.com
Tue Mar 7 07:54:27 PST 2006


    Thomas> Sorry but that sounds like a needless restriction. Some
    Thomas> hardware doesn't have ring buffers at all. Well, if ipoib
    Thomas> does it this way though, I guess that's what it is.

It's a property of the way the ipoib driver keeps track of outstanding
work requests.  We just keep constantly-incrementing head and tail
pointers to a circular buffer, and mask them down to get an index into
the actual buffer.

 - R.



More information about the general mailing list