]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Add orig_dgid sysfs attribute to scsi_host
authorIshai Rabinovitz <ishai@mellanox.co.il>
Mon, 7 May 2007 04:18:11 +0000 (21:18 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 7 May 2007 04:18:11 +0000 (21:18 -0700)
commitdfda551cb17baa41ee5c4ac5ed168fb972fe52aa
tree5219a4104fe5d663c1ef1a69ba2a0352da36c6e9
parentbce4957b234ba8bf20437d5d1a89dc9e4ae461f9
IB/srp: Add orig_dgid sysfs attribute to scsi_host

Add an orig_dgid attribute in sysfs for SRP scsi_hosts, so that
userspace can tell what the original dgid value written to the
add_target file was, even if the connection is redirected to a
different port while connecting.

Signed-off-by: Ishai Rabinovitz <ishai@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h