From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH rdma-next 1/3] RDMA/core: Remove RoCE support from rdma_addr_get_sgid() Date: Mon, 15 Jan 2018 15:47:42 -0700 Message-ID: <20180115224742.GD2206@ziepe.ca> References: <20180109111058.29534-1-leon@kernel.org> <20180109111058.29534-2-leon@kernel.org> <20180115220741.GA18489@ziepe.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Parav Pandit Cc: Leon Romanovsky , Doug Ledford , RDMA mailing list , Daniel Jurgens List-Id: linux-rdma@vger.kernel.org On Mon, Jan 15, 2018 at 10:34:13PM +0000, Parav Pandit wrote: > > Can you define what the SGID/DGID should be in the rdma CM uapi when > > working with rocee? > > > It is the GIDs derived from the IP address using ip2gid() conversion. So then why is it OK for this patch to start returning dev_addr->src_dev_addr ? 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