From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH rdma-next 08/19] RDMA/core: Expose translation from device name to ib_device Date: Wed, 21 Jun 2017 10:07:48 -0600 Message-ID: <20170621160748.GA10200@obsidianresearch.com> References: <20170621060528.3752-1-leon@kernel.org> <20170621060528.3752-9-leon@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Doug Ledford , linux-rdma@vger.kernel.org, Chien Tin Tung , Steve Wise , Stephen Hemminger , Jiri Pirko , Ariel Almog , Linux Netdev , Leon Romanovsky To: Leon Romanovsky Return-path: Received: from quartz.orcorp.ca ([184.70.90.242]:34986 "EHLO quartz.orcorp.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752991AbdFUQd3 (ORCPT ); Wed, 21 Jun 2017 12:33:29 -0400 Content-Disposition: inline In-Reply-To: <20170621060528.3752-9-leon@kernel.org> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Jun 21, 2017 at 09:05:17AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > Provide ability to convert from device name to ib_device for the > IB/core users. FWIW, as a general comment, we really need to start using some kind of device index like netdev does instead of the name. I'd like the see the new netlink interface be index based. As we saw in a past discussion there is a desire to have stable device naming, which means renaming... Jason