From: Bart Van Assche Subject: Re: [RFC] ib_srpt: initial .40-rc1 drivers/infiniband/ulp/srpt merge Date: Sun, 22 May 2011 21:14:23 +0200 Message-ID: References: <1305682604-21383-1-git-send-email-nab@linux-iscsi.org> <20110518170556.GB2595@obsidianresearch.com> <20110519174420.GD12525@obsidianresearch.com> <20110519184113.GE12525@obsidianresearch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <20110519184113.GE12525@obsidianresearch.com> Sender: linux-scsi-owner@vger.kernel.org To: Jason Gunthorpe Cc: "Nicholas A. Bellinger" , linux-kernel , linux-scsi , linux-rmda , Roland Dreier , Vu Pham , David Dillow , James Bottomley List-Id: linux-rdma@vger.kernel.org On Thu, May 19, 2011 at 8:41 PM, Jason Gunthorpe wrote: > This is why in the IB verbs architecture nearly everything is tied to > a *device*, not a port. LIO has a feature called "access control lists" that allows to define which initiators are allowed to log in to a target. For a single-rail HCA it makes most sense to configure that information per HCA. For a dual-rail HCA the most flexible approach is to allow the user to configure ACLs per HCA port. That made me wonder whether it is possible to find out from software whether a dual-port HCA is single-rail or dual-rail. A quick glance at struct ib_device_attr and struct ib_port_attr in didn't yield any field usable for this purpose. Did I overlook something ? Bart.