On 7/11/2013 8:25 PM, Jason Gunthorpe wrote:
On Thu, Jul 11, 2013 at 06:07:44PM +0300, Yishai Hadas wrote:

+       if (sizeof(*verbs_ctx) -
+           offsetof(struct verbs_context,
+                    close_xrcd) <= verbs_ctx->sz)
+               verbs_ctx->close_xrcd = mlx4_close_xrcd;
please put a macro in libibverbs headers for this, all drivers will
require this tricky test. Eg:

   verbs_set_ctx_op(verbs_ctx, close_xrcd, mlx4_close_xrcd);
    OK, will add as part of V8 that I'm going to send soon.

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

--
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

Reply via email to