From: Jason Gunthorpe Subject: Re: [RFC] ib_srpt: initial .40-rc1 drivers/infiniband/ulp/srpt merge Date: Thu, 19 May 2011 10:57:28 -0600 Message-ID: <20110519165728.GB12525@obsidianresearch.com> References: <1305682604-21383-1-git-send-email-nab@linux-iscsi.org> <20110518170556.GB2595@obsidianresearch.com> <1305778694.2856.533.camel@haakon2.linux-iscsi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Bart Van Assche Cc: "Nicholas A. Bellinger" , Roland Dreier , linux-kernel , linux-scsi , linux-rmda , Vu Pham , David Dillow , James Bottomley List-Id: linux-rdma@vger.kernel.org On Thu, May 19, 2011 at 12:40:02PM +0200, Bart Van Assche wrote: > I'm still wondering whether it was a good idea to switch from ib > style names to port GIDs. Not only will that make it hard for users to > match the ib names already assigned to InfiniBand HCAs with target > port names but this also deviates from the naming scheme used for any > other Linux device. Ethernet devices e.g. appear as eth in /dev > instead of a MAC address like 00:1a:64:10:18:6f. The ib# names returned by ip addr are already disjoint from the namespace that is being used by SRP targets. The only choices are port GUID or something like mlx4_0/1, the later is somewhat less commonly used.. Is there some approach here for selecting the pkey as well? Jason