Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76b2c34a authored by James Smart's avatar James Smart Committed by James Bottomley
Browse files

lpfc: Fix FDMI Fabric support in driver for Brocade

parent f0bf5f91
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -413,6 +413,9 @@ struct lpfc_vport {
	uint32_t cfg_fcp_class;
	uint32_t cfg_fcp_class;
	uint32_t cfg_use_adisc;
	uint32_t cfg_use_adisc;
	uint32_t cfg_fdmi_on;
	uint32_t cfg_fdmi_on;
#define LPFC_FDMI_SUPPORT	1	/* bit 0 - FDMI supported? */
#define LPFC_FDMI_REG_DELAY	2	/* bit 1 - 60 sec registration delay */
#define LPFC_FDMI_ALL_ATTRIB	4	/* bit 2 - register ALL attributes? */
	uint32_t cfg_discovery_threads;
	uint32_t cfg_discovery_threads;
	uint32_t cfg_log_verbose;
	uint32_t cfg_log_verbose;
	uint32_t cfg_max_luns;
	uint32_t cfg_max_luns;
+11 −5
Original line number Original line Diff line number Diff line
@@ -4573,12 +4573,18 @@ LPFC_ATTR_R(multi_ring_type, FC_TYPE_IP, 1,


/*
/*
# lpfc_fdmi_on: controls FDMI support.
# lpfc_fdmi_on: controls FDMI support.
#       0 = no FDMI support
#               Set                NOT Set
#       1 = support FDMI without attribute of hostname
#       bit 0 = FDMI support       no FDMI support
#       2 = support FDMI with attribute of hostname
#           LPFC_FDMI_SUPPORT just turns basic support on/off
# Value range [0,2]. Default value is 0.
#       bit 1 = Register delay     no register delay  (60 seconds)
#           LPFC_FDMI_REG_DELAY	60 sec registration delay after FDMI login
#       bit 2 = All attributes     Use a attribute subset
#           LPFC_FDMI_ALL_ATTRIB applies to both port and HBA attributes
#           Port attrutes subset: 1 thru 6 OR all: 1 thru 0xd 0x101 0x102 0x103
#           HBA attributes subset: 1 thru 0xb OR all: 1 thru 0xc
# Value range [0,7]. Default value is 0.
*/
*/
LPFC_VPORT_ATTR_RW(fdmi_on, 0, 0, 2, "Enable FDMI support");
LPFC_VPORT_ATTR_RW(fdmi_on, 0, 0, 7, "Enable FDMI support");


/*
/*
# Specifies the maximum number of ELS cmds we can have outstanding (for
# Specifies the maximum number of ELS cmds we can have outstanding (for
Loading