linux-stable/drivers/scsi/qedf
Javed Hasan 9d6f87c25a scsi: qedf: Use devlink to report errors and recovery
Use devlink_health_report() to push error indications.

Implement this in qede via a callback function to make it possible to reuse
it for other drivers sitting on top of qed in future. Also remove forcible
recovery trigger and put it as a normal devlink callback in qed module.

This allows user to enable/disable it via:

    devlink health set pci/xxxx:xx:xx.x reporter fw_fatal auto_recover false

Link: https://lore.kernel.org/r/20210331164917.24662-3-jhasan@marvell.com
Signed-off-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-04-13 00:26:12 -04:00
..
drv_fcoe_fw_funcs.c
drv_fcoe_fw_funcs.h
drv_scsi_fw_funcs.c
drv_scsi_fw_funcs.h
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
qedf.h scsi: qedf: Enable devlink support 2021-04-13 00:26:11 -04:00
qedf_attr.c
qedf_dbg.c
qedf_dbg.h scsi: qedf: Remove unused include of linux/version.h 2021-04-05 23:45:23 -04:00
qedf_debugfs.c scsi: qedf: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-15 16:01:58 -04:00
qedf_els.c scsi: qedf: Correct the comment in qedf_initiate_els 2020-09-08 23:14:16 -04:00
qedf_fip.c scsi: qedf: Remove redundant initialization of variable rc 2020-06-02 21:44:14 -04:00
qedf_hsi.h
qedf_io.c scsi: qedf: Remove redundant assignment to variable 'rc' 2020-10-02 22:07:02 -04:00
qedf_main.c scsi: qedf: Use devlink to report errors and recovery 2021-04-13 00:26:12 -04:00
qedf_version.h