diff options
| -rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 24e4c0206482..b507536dc5b5 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
| @@ -2843,7 +2843,14 @@ lpfc_mbx_cmpl_reg_vfi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) | |||
| 2843 | struct lpfc_vport *vport = mboxq->vport; | 2843 | struct lpfc_vport *vport = mboxq->vport; |
| 2844 | struct Scsi_Host *shost = lpfc_shost_from_vport(vport); | 2844 | struct Scsi_Host *shost = lpfc_shost_from_vport(vport); |
| 2845 | 2845 | ||
| 2846 | if (mboxq->u.mb.mbxStatus) { | 2846 | /* |
| 2847 | * VFI not supported for interface type 0, so ignore any mailbox | ||
| 2848 | * error (except VFI in use) and continue with the discovery. | ||
| 2849 | */ | ||
| 2850 | if (mboxq->u.mb.mbxStatus && | ||
| 2851 | (bf_get(lpfc_sli_intf_if_type, &phba->sli4_hba.sli_intf) != | ||
| 2852 | LPFC_SLI_INTF_IF_TYPE_0) && | ||
| 2853 | mboxq->u.mb.mbxStatus != MBX_VFI_IN_USE) { | ||
| 2847 | lpfc_printf_vlog(vport, KERN_ERR, LOG_MBOX, | 2854 | lpfc_printf_vlog(vport, KERN_ERR, LOG_MBOX, |
| 2848 | "2018 REG_VFI mbxStatus error x%x " | 2855 | "2018 REG_VFI mbxStatus error x%x " |
| 2849 | "HBA state x%x\n", | 2856 | "HBA state x%x\n", |
