On Tue, Jun 30, 2015 at 03:59:58PM +0300, Sagi Grimberg wrote: > Putting the generic API discussion aside for a moment. Indirect > registration just a generalizes FRWR for SG-lists. The API I > proposed is a completely symmetrical API for FRWR. So applications that > implements FRWR can very easily use indirect registration. So I don't > think it is "a giant nightmare". > > A generic memory registration API would set as an abstraction layer > that just make the registration operation easier for ULPs. It will be > implemented above the core verbs layer (It wouldn't make sense to do > this abstraction below the verbs) so it will need this API in the core > verbs layer just as well. > > Do you have another suggestion on how to expose this feature in the core > layer? Convert the FRWR API with one that takes SGLs, and expose a feature to tell the client if it can take discontig SGLs. Next trey to expand the FRWR API to also cover other memory registration schemes. > > Sagi. ---end quoted text--- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html