From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v2 02/13] IB/core: Find the network device matching connection parameters Date: Mon, 27 Jul 2015 11:45:22 -0600 Message-ID: <20150727174522.GF18348@obsidianresearch.com> References: <1437924832-18327-1-git-send-email-haggaie@mellanox.com> <1437924832-18327-3-git-send-email-haggaie@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1437924832-18327-3-git-send-email-haggaie-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Haggai Eran Cc: Doug Ledford , Liran Liss , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Yotam Kenneth , Shachar Raindel , Guy Shapiro List-Id: linux-rdma@vger.kernel.org On Sun, Jul 26, 2015 at 06:33:41PM +0300, Haggai Eran wrote: > From: Yotam Kenneth > > In the case of IPoIB, and maybe in other cases, the network device is > managed by an upper-layer protocol (ULP). In order to expose this > network device to other users of the IB device, let ULPs implement > a callback that returns network device according to connection parameters. > > The IB device and port, together with the P_Key and the GID should > be enough to uniquely identify the ULP net device. However, in current > kernels there can be multiple IPoIB interfaces created with the same GID. > Furthermore, such configuration may be desireable to support ipvlan-like > configurations for RDMA CM with IPoIB. To resolve the device in these > cases the code will also take the IP address as an additional input. I already sent this, but again: Reviewed-by: Jason Gunthorpe 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