diff options
author | James Smart <james.smart@emulex.com> | 2011-07-22 18:37:52 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 15:16:05 +0400 |
commit | 7d791df730844932feeac3bbf3ac08b510682174 (patch) | |
tree | 8a1dd1666dc7df7518368327b7eff45719adeae1 /drivers/scsi/lpfc/lpfc.h | |
parent | b76f2dc91c0fff7a66616affdc039dc2e4b7ff98 (diff) | |
download | linux-3.10-7d791df730844932feeac3bbf3ac08b510682174.tar.gz linux-3.10-7d791df730844932feeac3bbf3ac08b510682174.tar.bz2 linux-3.10-7d791df730844932feeac3bbf3ac08b510682174.zip |
[SCSI] lpfc 8.3.25: Add FCF priority failover functionality
This patch implements a new FCF failover policy for the lpfc driver. It
allows the driver to choose which FCF to failover to based on the FCF
priority. This patch also introduces a new sysfs parameter
(fcf_failover_policy) to allow the user to choose which FCF failover policy
to use.
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index b932067bf2d..c088a36d1f3 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h @@ -680,6 +680,9 @@ struct lpfc_hba { uint32_t cfg_enable_rrq; uint32_t cfg_topology; uint32_t cfg_link_speed; +#define LPFC_FCF_FOV 1 /* Fast fcf failover */ +#define LPFC_FCF_PRIORITY 2 /* Priority fcf failover */ + uint32_t cfg_fcf_failover_policy; uint32_t cfg_cr_delay; uint32_t cfg_cr_count; uint32_t cfg_multi_ring_support; |