summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli4.h
diff options
context:
space:
mode:
authorJames Smart2010-02-26 20:15:29 +0100
committerJames Bottomley2010-03-03 14:39:52 +0100
commitfc2b989be9190f3311a5ae41289828e24897a20e (patch)
tree86de4a9129f003697819af1e5aa5d83eae683b4b /drivers/scsi/lpfc/lpfc_sli4.h
parent[SCSI] lpfc 8.3.10: Added management for LP21000 through BSG. (diff)
downloadkernel-qcow2-linux-fc2b989be9190f3311a5ae41289828e24897a20e.tar.gz
kernel-qcow2-linux-fc2b989be9190f3311a5ae41289828e24897a20e.tar.xz
kernel-qcow2-linux-fc2b989be9190f3311a5ae41289828e24897a20e.zip
[SCSI] lpfc 8.3.10: Fix Discovery issues
- Prevent Vport discovery after reg_new_vport completes when physical logged in using FDISC. - Remove fast FCF failover fabric name matching. Allow failover to FCFs connected to different fabrics. - Added fast FCF failover in response to FCF DEAD event on current FCF record. Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli4.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli4.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli4.h b/drivers/scsi/lpfc/lpfc_sli4.h
index 04fd7829cf39..2169cd24d90c 100644
--- a/drivers/scsi/lpfc/lpfc_sli4.h
+++ b/drivers/scsi/lpfc/lpfc_sli4.h
@@ -153,9 +153,11 @@ struct lpfc_fcf {
#define FCF_REGISTERED 0x02 /* FCF registered with FW */
#define FCF_SCAN_DONE 0x04 /* FCF table scan done */
#define FCF_IN_USE 0x08 /* Atleast one discovery completed */
-#define FCF_REDISC_PEND 0x10 /* FCF rediscovery pending */
-#define FCF_REDISC_EVT 0x20 /* FCF rediscovery event to worker thread */
-#define FCF_REDISC_FOV 0x40 /* Post FCF rediscovery fast failover */
+#define FCF_DEAD_FOVER 0x10 /* FCF DEAD triggered fast FCF failover */
+#define FCF_CVL_FOVER 0x20 /* CVL triggered fast FCF failover */
+#define FCF_REDISC_PEND 0x40 /* FCF rediscovery pending */
+#define FCF_REDISC_EVT 0x80 /* FCF rediscovery event to worker thread */
+#define FCF_REDISC_FOV 0x100 /* Post FCF rediscovery fast failover */
uint32_t addr_mode;
struct lpfc_fcf_rec current_rec;
struct lpfc_fcf_rec failover_rec;