From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v2 8/8] ib_uverbs: Support for kernel implementation of XRC Date: Fri, 16 Sep 2016 13:31:03 -0600 Message-ID: <20160916193102.GB28859@obsidianresearch.com> References: <88ffb8c9407a71069b52e155dde308a36dfaf247.1474049924.git-series.knut.omang@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <88ffb8c9407a71069b52e155dde308a36dfaf247.1474049924.git-series.knut.omang-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Knut Omang Cc: Doug Ledford , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sean Hefty , Hal Rosenstock , Matan Barak , Sagi Grimberg , Leon Romanovsky , Yishai Hadas , Majd Dibbiny , Eran Ben Elisha , Or Gerlitz List-Id: linux-rdma@vger.kernel.org On Fri, Sep 16, 2016 at 08:31:19PM +0200, Knut Omang wrote: > +++ b/include/uapi/rdma/ib_user_verbs.h > @@ -725,6 +725,8 @@ struct ib_uverbs_send_wr { > __u32 reserved; > } ud; > } wr; > + __u32 xrc_remote_srq_num; > + __u32 reserved; > }; You still need to discuss why this is OK... Are you doing all this just to be able to use the existing post_send user space path in the common code? Is there a kernel XRC user planned? Another approach would be to implement post_send in your driver and not rely on this common code path. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html