[SCSI] scsi_transport_iscsi: Declare portal type string macros for generic use
authorAdheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Mon, 25 Mar 2013 12:08:31 +0000 (08:08 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 11 Apr 2013 22:34:33 +0000 (15:34 -0700)
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>
include/scsi/iscsi_if.h

index f1b0183..fe7f06c 100644 (file)
@@ -504,6 +504,10 @@ enum iscsi_host_param {
        ISCSI_HOST_PARAM_MAX,
 };
 
+/* portal type */
+#define PORTAL_TYPE_IPV4       "ipv4"
+#define PORTAL_TYPE_IPV6       "ipv6"
+
 /* iSCSI Flash Target params */
 enum iscsi_flashnode_param {
        ISCSI_FLASHNODE_IS_FW_ASSIGNED_IPV6,