Message ID | 20250317163731.356873-1-emilne@redhat.com |
---|---|
State | New |
Headers | show |
Series | scsi: lpfc: restore clearing of NLP_UNREG_INP in ndlp->nlp_flag | expand |
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Thanks for fixing, looks good.
Regards,
Justin
On Mon, 17 Mar 2025 12:37:31 -0400, Ewan D. Milne wrote: > Commit "scsi: lpfc: Remove NLP_RELEASE_RPI flag from nodelist structure" > introduced a regression with SLI-3 adapters (e.g. LPe12000 8Gb) where > a Link Down / Link Up such as caused by disabling an host FC switch port > would result in the devices remaining in the transport-offline state > and multipath reporting them as failed. This problem was not seen with > newer SLI-4 adapters. > > [...] Applied to 6.15/scsi-queue, thanks! [1/1] scsi: lpfc: restore clearing of NLP_UNREG_INP in ndlp->nlp_flag https://git.kernel.org/mkp/scsi/c/040492ac2578
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 3fd9723cd271..92f3d4423729 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -2923,6 +2923,8 @@ lpfc_sli_def_mbox_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) clear_bit(NLP_UNREG_INP, &ndlp->nlp_flag); ndlp->nlp_defer_did = NLP_EVT_NOTHING_PENDING; lpfc_issue_els_plogi(vport, ndlp->nlp_DID, 0); + } else { + clear_bit(NLP_UNREG_INP, &ndlp->nlp_flag); } /* The unreg_login mailbox is complete and had a