diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2012-08-22 22:52:43 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 04:10:57 -0400 |
commit | ce7242b80278426a798c13ce96657690db9332d9 (patch) | |
tree | 13f5bd2249c0ac6c544325cda5692bc804386a17 /drivers/scsi/bfa/bfa_fc.h | |
parent | 9aec02497590cac5abdb5c044e3ec57010b1d808 (diff) |
[SCSI] bfa: Add support to register node symbolic name with name server
- Changes to register node symbolic name with name server on the fabric
by sending CT commands RNN_ID and RSNN_NN.
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fc.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_fc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_fc.h b/drivers/scsi/bfa/bfa_fc.h index 8d0b88f67a3..e0beb4d7e26 100644 --- a/drivers/scsi/bfa/bfa_fc.h +++ b/drivers/scsi/bfa/bfa_fc.h | |||
@@ -1279,6 +1279,7 @@ enum { | |||
1279 | GS_GSPN_ID = 0x0118, /* Get symbolic PN on ID */ | 1279 | GS_GSPN_ID = 0x0118, /* Get symbolic PN on ID */ |
1280 | GS_RFT_ID = 0x0217, /* Register fc4type on ID */ | 1280 | GS_RFT_ID = 0x0217, /* Register fc4type on ID */ |
1281 | GS_RSPN_ID = 0x0218, /* Register symbolic PN on ID */ | 1281 | GS_RSPN_ID = 0x0218, /* Register symbolic PN on ID */ |
1282 | GS_RSNN_NN = 0x0239, /* Register symbolic NN on NN */ | ||
1282 | GS_RPN_ID = 0x0212, /* Register port name */ | 1283 | GS_RPN_ID = 0x0212, /* Register port name */ |
1283 | GS_RNN_ID = 0x0213, /* Register node name */ | 1284 | GS_RNN_ID = 0x0213, /* Register node name */ |
1284 | GS_RCS_ID = 0x0214, /* Register class of service */ | 1285 | GS_RCS_ID = 0x0214, /* Register class of service */ |
@@ -1357,6 +1358,15 @@ struct fcgs_rspnid_req_s { | |||
1357 | }; | 1358 | }; |
1358 | 1359 | ||
1359 | /* | 1360 | /* |
1361 | * RSNN_NN | ||
1362 | */ | ||
1363 | struct fcgs_rsnn_nn_req_s { | ||
1364 | wwn_t node_name; /* Node name */ | ||
1365 | u8 snn_len; /* symbolic node name length */ | ||
1366 | u8 snn[256]; /* symbolic node name */ | ||
1367 | }; | ||
1368 | |||
1369 | /* | ||
1360 | * RPN_ID | 1370 | * RPN_ID |
1361 | */ | 1371 | */ |
1362 | struct fcgs_rpnid_req_s { | 1372 | struct fcgs_rpnid_req_s { |