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>
This commit is contained in:

committed by
Roland Dreier

parent
d6ef7d68f6
commit
3633b3d096
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user