OpenCloudOS-Kernel/drivers/scsi/lpfc
James Smart 1045592fc9 scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completion
During an NVMe target reboot, the target may initialize itself as FCP only
during the first RSCN and shortly after trigger a second RSCN claiming NVMe
support.  The timing of these RSCNs occur before FCP-PRLI for the first
RSCN completes leading discovery issues over NVMe.

Change RSCN and NVME-PRLI send logic based on a new FC_RSCN_MEMENTO flag
that signals when lpfc_end_rscn() is completed and serves as a memento that
discovery was started from RSCN.

Link: https://lore.kernel.org/r/20220412222008.126521-20-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-04-18 22:48:46 -04:00
..
Makefile scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc.h scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completion 2022-04-18 22:48:46 -04:00
lpfc_attr.c SCSI misc on 20220324 2022-03-24 19:37:53 -07:00
lpfc_attr.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_bsg.c scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_bsg.h scsi: lpfc: Copyright updates for 14.0.0.1 patches 2021-08-24 22:56:34 -04:00
lpfc_compat.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_crtn.h scsi: lpfc: Improve PCI EEH Error and Recovery Handling 2022-03-29 23:19:37 -04:00
lpfc_ct.c scsi: lpfc: Register for Application Services FC-4 type in Fabric topology 2022-04-18 22:48:46 -04:00
lpfc_debugfs.c scsi: lpfc: Use kcalloc() 2022-03-15 00:52:05 -04:00
lpfc_debugfs.h scsi: lpfc: Adjust CMF total bytes and rxmonitor 2021-12-06 22:35:37 -05:00
lpfc_disc.h scsi: lpfc: Allow fabric node recovery if recovery is in progress before devloss 2021-10-20 23:33:46 -04:00
lpfc_els.c scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completion 2022-04-18 22:48:46 -04:00
lpfc_hbadisc.c scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completion 2022-04-18 22:48:46 -04:00
lpfc_hw.h scsi: lpfc: Register for Application Services FC-4 type in Fabric topology 2022-04-18 22:48:46 -04:00
lpfc_hw4.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_ids.h scsi: lpfc: Copyright updates for 14.0.0.0 patches 2021-07-27 00:06:41 -04:00
lpfc_init.c scsi: lpfc: Correct CRC32 calculation for congestion stats 2022-04-18 22:48:45 -04:00
lpfc_logmsg.h scsi: lpfc: Move cfg_log_verbose check before calling lpfc_dmp_dbg() 2022-04-18 22:48:43 -04:00
lpfc_mbox.c scsi: lpfc: Fix typos in comments 2022-03-15 00:32:14 -04:00
lpfc_mem.c scsi: lpfc: Copyright updates for 14.0.0.1 patches 2021-08-24 22:56:34 -04:00
lpfc_nl.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_nportdisc.c scsi: lpfc: Protect memory leak for NPIV ports sending PLOGI_RJT 2022-04-18 22:48:45 -04:00
lpfc_nvme.c scsi: lpfc: Tweak message log categories for ELS/FDMI/NVMe rescan 2022-04-18 22:48:43 -04:00
lpfc_nvme.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_nvmet.c scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_scsi.c scsi: lpfc: Fix call trace observed during I/O with CMF enabled 2022-04-18 22:48:46 -04:00
lpfc_scsi.h scsi: lpfc: Copyright updates for 14.0.0.0 patches 2021-07-27 00:06:41 -04:00
lpfc_sli.c scsi: lpfc: Move MI module parameter check to handle dynamic disable 2022-04-18 22:48:45 -04:00
lpfc_sli.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_sli4.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.2.0.1 2022-03-29 23:19:38 -04:00
lpfc_vport.c scsi: lpfc: Fix NPIV port deletion crash 2021-12-06 22:35:36 -05:00
lpfc_vport.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00