[openib-general] [PATCH 3/7] IB/ipoib - Use the new verbs DMA mapping functions

Roland Dreier rdreier at cisco.com
Mon Nov 6 10:23:51 PST 2006


 > For example, ib_send_wr/ib_recv_wr could have an *optional* "void *data" field.
 > And we could have a rule that ULP must *either* pass in the void *data, and
 > do dma mappings through the usual dma API, or go through the ib_dma mappings (or both).

This is a good direction to look at, because it makes "inline data"
more useful.  However I think it just shifts the cost elsewhere,
because now low-level drivers need to have a conditional test for
every gather/scatter entry to see which case is being used.  So I'm
not sure it's really a net win.

 - R.




More information about the general mailing list