linux-stable/drivers/scsi/lpfc
James Smart 85090f71a9 scsi: lpfc: Alter FPIN stat accounting logic
[ Upstream commit e6f5104145 ]

When configuring CMF management based on signals instead of FPINs, FPIN
alarm and warning statistics are not tracked.

Change the behavior so that FPIN alarms and warnings are always tracked
regardless of the configured mode.

Similar changes are made in the CMF signal stat accounting logic.  Upon
receipt of a signal, only track signaled alarms and warnings. FPIN stats
should not be incremented upon receipt of a signal.

Link: https://lore.kernel.org/r/20220506035519.50908-11-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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:25:25 +02:00
..
Makefile
lpfc.h scsi: lpfc: Improve PCI EEH Error and Recovery Handling 2022-04-20 09:36:20 +02:00
lpfc_attr.c scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop 2022-02-14 22:07:51 -05:00
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Add bsg support for retrieving adapter cmf data 2021-08-24 22:56:34 -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
lpfc_crtn.h scsi: lpfc: Improve PCI EEH Error and Recovery Handling 2022-04-20 09:36:20 +02:00
lpfc_ct.c
lpfc_debugfs.c SCSI misc on 20220113 2022-01-14 14:37:34 +01: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: Alter FPIN stat accounting logic 2022-06-09 10:25:25 +02:00
lpfc_hbadisc.c scsi: lpfc: Fix unload hang after back to back PCI EEH faults 2022-04-20 09:36:20 +02:00
lpfc_hw.h scsi: lpfc: Use struct_group to isolate cast to larger object 2021-12-13 23:31:40 -05:00
lpfc_hw4.h Merge branch '5.15/scsi-fixes' into 5.16/scsi-staging 2021-10-12 11:58:12 -04:00
lpfc_ids.h
lpfc_init.c scsi: lpfc: Alter FPIN stat accounting logic 2022-06-09 10:25:25 +02:00
lpfc_logmsg.h scsi: lpfc: Move cfg_log_verbose check before calling lpfc_dmp_dbg() 2022-06-09 10:25:20 +02:00
lpfc_mbox.c
lpfc_mem.c scsi: lpfc: Copyright updates for 14.0.0.1 patches 2021-08-24 22:56:34 -04:00
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop 2022-02-14 22:07:51 -05:00
lpfc_nvme.c scsi: lpfc: Fix unload hang after back to back PCI EEH faults 2022-04-20 09:36:20 +02:00
lpfc_nvme.h scsi: lpfc: Add cmf_info sysfs entry 2021-08-24 22:56:34 -04:00
lpfc_nvmet.c scsi: lpfc: Improve PBDE checks during SGL processing 2021-09-14 23:33:22 -04:00
lpfc_scsi.c scsi: lpfc: Fix call trace observed during I/O with CMF enabled 2022-06-09 10:25:20 +02:00
lpfc_scsi.h
lpfc_sli.c scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp() 2022-06-09 10:25:22 +02:00
lpfc_sli.h scsi: lpfc: Add support for the CM framework 2021-08-24 22:56:34 -04:00
lpfc_sli4.h scsi: lpfc: Fix EEH support for NVMe I/O 2021-09-14 23:33:21 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.0.0.4 2021-12-06 22:35:37 -05:00
lpfc_vport.c scsi: lpfc: Fix NPIV port deletion crash 2021-12-06 22:35:36 -05:00
lpfc_vport.h