diff options
author | James Smart <james.smart@emulex.com> | 2010-06-08 18:31:37 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:01:36 -0400 |
commit | dbb6b3ab10464aa11df74c0d0a14e869a8c6fd1b (patch) | |
tree | 88d59281937042a9cd8c4a93573f838763e8c7c7 /drivers/scsi/lpfc/lpfc_sli.c | |
parent | 75baf69657ea2107f2c202cd29dada206ae4b7c4 (diff) |
[SCSI] lpfc 8.3.14: FCoE Discovery Fixes
- Prevent unregistring of unused FCF when FLOGI is pending.
- Prevent point to point discovery on a FCoE HBA.
- Fixed FCF discovery failure after swapping FCoE port by
switching over to fast failover method when no FCF matches in-use FCF.
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
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_sli.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 9c609546b4ef..f38c05dc5635 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -12404,7 +12404,8 @@ lpfc_sli4_fcf_rr_next_index_get(struct lpfc_hba *phba) | |||
12404 | next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask, | 12404 | next_fcf_index = find_next_bit(phba->fcf.fcf_rr_bmask, |
12405 | LPFC_SLI4_FCF_TBL_INDX_MAX, 0); | 12405 | LPFC_SLI4_FCF_TBL_INDX_MAX, 0); |
12406 | /* Round robin failover stop condition */ | 12406 | /* Round robin failover stop condition */ |
12407 | if (next_fcf_index == phba->fcf.fcf_rr_init_indx) | 12407 | if ((next_fcf_index == phba->fcf.fcf_rr_init_indx) || |
12408 | (next_fcf_index >= LPFC_SLI4_FCF_TBL_INDX_MAX)) | ||
12408 | return LPFC_FCOE_FCF_NEXT_NONE; | 12409 | return LPFC_FCOE_FCF_NEXT_NONE; |
12409 | 12410 | ||
12410 | return next_fcf_index; | 12411 | return next_fcf_index; |