diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-11-03 14:49:27 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:20 -0500 |
commit | ab593b187391bdd03ccad2968972a2e118a88cd4 (patch) | |
tree | f1fb209ae42b19c6e9065ae8db37776c1bb39558 /include/scsi/fc/fc_fcp.h | |
parent | 78112e5558064cb4d2e355aed87b2036fcdfe3dd (diff) |
[SCSI] libfc: register FC4 features with the FC switch
Customers and certification tests have pointed out that we don't
show up on the switch management software as an initiator.
On some MDS switches 'show fcns database' command shows libfc
initiators as 'fcp' not 'fcp:init' like other initiators.
On others switches, I think the switch gets the features by doing a PRLI,
but it may be only certain models or under certain configurations.
Fix this by registering our FC4 features with the RFF_ID CT request
after local port login and after the RFT_ID.
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/fc/fc_fcp.h')
-rw-r--r-- | include/scsi/fc/fc_fcp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/scsi/fc/fc_fcp.h b/include/scsi/fc/fc_fcp.h index 5d38f1989f37..29ecb0b02b09 100644 --- a/include/scsi/fc/fc_fcp.h +++ b/include/scsi/fc/fc_fcp.h | |||
@@ -196,4 +196,10 @@ struct fcp_srr { | |||
196 | __u8 srr_resvd2[3]; /* reserved */ | 196 | __u8 srr_resvd2[3]; /* reserved */ |
197 | }; | 197 | }; |
198 | 198 | ||
199 | /* | ||
200 | * Feature bits in name server FC-4 Features object. | ||
201 | */ | ||
202 | #define FCP_FEAT_TARG (1 << 0) /* target function supported */ | ||
203 | #define FCP_FEAT_INIT (1 << 1) /* initiator function supported */ | ||
204 | |||
199 | #endif /* _FC_FCP_H_ */ | 205 | #endif /* _FC_FCP_H_ */ |