diff options
author | Ishai Rabinovitz <ishai@mellanox.co.il> | 2007-05-07 04:18:11 (GMT) |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-05-07 04:18:11 (GMT) |
commit | 3633b3d096286cf21bc07b16fa6265fb006d0844 (patch) | |
tree | 5219a4104fe5d663c1ef1a69ba2a0352da36c6e9 /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | d6ef7d68f6f51c5b9de01c542dab8b90067a9c27 (diff) | |
download | linux-3633b3d096286cf21bc07b16fa6265fb006d0844.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 2f3319c..1d53c7b 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -129,6 +129,7 @@ struct srp_target_port { unsigned int scsi_id; struct ib_sa_path_rec path; + __be16 orig_dgid[8]; struct ib_sa_query *path_query; int path_query_id; |