Commit 2902eb495d71e5cd410c9d94200d35e047404630
Committed by
James Bottomley
1 parent
1e9e2be3ee
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
[SCSI] scsi_transport_iscsi: Declare portal type string macros for generic use
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
include/scsi/iscsi_if.h
... | ... | @@ -504,6 +504,10 @@ |
504 | 504 | ISCSI_HOST_PARAM_MAX, |
505 | 505 | }; |
506 | 506 | |
507 | +/* portal type */ | |
508 | +#define PORTAL_TYPE_IPV4 "ipv4" | |
509 | +#define PORTAL_TYPE_IPV6 "ipv6" | |
510 | + | |
507 | 511 | /* iSCSI Flash Target params */ |
508 | 512 | enum iscsi_flashnode_param { |
509 | 513 | ISCSI_FLASHNODE_IS_FW_ASSIGNED_IPV6, |