From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Wise" Subject: RE: [PATCH rdma-next v3 2/7] RDMA/core: Add helper function to create named QPs Date: Thu, 11 Jan 2018 13:39:42 -0600 Message-ID: <017101d38b13$ed2cebe0$c786c3a0$@opengridcomputing.com> References: <20180111153132.11143-1-leon@kernel.org> <20180111153132.11143-3-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20180111153132.11143-3-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Content-Language: en-us Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: 'Leon Romanovsky' , 'Doug Ledford' , 'Jason Gunthorpe' Cc: 'RDMA mailing list' , 'Mark Bloch' , 'Leon Romanovsky' List-Id: linux-rdma@vger.kernel.org > From: Leon Romanovsky > > The QPs in the RDMA stack can be created by kernel > or users space, but the owner is not visible to users > after that. > > The added helper keeps track of newly created QP together > with the name of the owner. In case of kernel, the caller to > create_qp is supposed to update QP's attribute with the name. > For user space callers no change is needed and the name will > be taken from the process name. > > This helper sets qp->device field for all QP types including > XRC_TGT, which RDMA/core didn't do before. > > Reviewed-by: Mark Bloch > Signed-off-by: Leon Romanovsky Reviewed-by: Steve Wise -- 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