On Wed, Jul 08, 2015 at 10:32:44PM +0000, Marciniszyn, Mike wrote:
> > > This sysfs entries are used by PSM2 to form packets from user space.
> > 
> > You didn't explain what's SC and what's SC-to-VL and why PSM2 can't talk to
> > the SM to query that.

Like IB the SL to SC to VL maps are available via SMA queries on the local
port.  However, it is more secure if SMP queries are limited to root or
management nodes.  (This is also true in IB.)

So requiring PSM, ie regular applications, to issue SMA queries on the local
port is not appropriate as it precludes a more secure policy of restricting
the umad interface.

sysfs is IMO a reasonable interface to communicate these tables to regular
user applications.

Ira

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to