On Mon, Jun 01, 2015 at 07:25:04AM -0400, Doug Ledford wrote: > attempted abstraction of ibverbs. Passing in the wc struct allows the > driver to internally allocate a wc struct with extra private elements > and pass that back to the user, when the user passes it back to > ibv_get_timestamp the elements are there in the private portion of the > struct.
wc structures are allocated by the caller, there is no option for the driver to create private elements. AFAIK, Christoph's use case is essentially the only meaningful use case for this feature, generalizing too much may destroy the performance that is valuable here. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
