On Fri, Jul 10, 2015 at 12:09:37PM +0300, Sagi Grimberg wrote: > Given the last discussions on our in-kernel memory registration API I > thought I'd propose another approach to address this. I assume you can put your new indirect registrations under this API without changing the callers? > /* > * Set the SG list in the MR, fail if the sg > * list is not well aligned (caller should handle > * it) or mr does not have enough room to fit the sg. > */ > rc = ib_mr_set_sg(mr, sg, sg_nents); > if (rc) > /* HW does not support - Need to handle it */ I think this call should also do the post. There seems to be nothing the ULP can customize about the post step that needs to be exposed.. and bundling the post allows more flexability to implement different schemes without impacting the ULPs. Jason -- 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