IB/srp: Export sgid to sysfs
authorBart Van Assche <bvanassche@acm.org>
Sat, 26 Oct 2013 12:38:12 +0000 (14:38 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:16 +0000 (14:43 -0800)
commit848b3082dba4215e886c8a595b61f5b70247b341
tree04a5badcdca77f12893c77f2bd0cfd31a29cd3ba
parenta95cadb9dafef41a755b11680529c2b49e7f59bd
IB/srp: Export sgid to sysfs

On an initiator system with multiple IB ports it is not yet possible
to figure out what the originating port of an SRP connection is. Hence
make the source GID available in sysfs.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Documentation/ABI/stable/sysfs-driver-ib_srp
drivers/infiniband/ulp/srp/ib_srp.c