]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
qed*: make use of devlink recovery infrastructure
authorIgor Russkikh <irusskikh@marvell.com>
Sun, 23 Aug 2020 11:19:31 +0000 (14:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 01:01:33 +0000 (18:01 -0700)
commitb228cb1602ead97be5449cb87b68addea0e8243c
tree21cfdad20164251b7a85431b70658db7f97cdd8c
parent4f5a8db27eb926616500f827d9b81dc40595b0ef
qed*: make use of devlink recovery infrastructure

Remove forcible recovery trigger and put it as a normal devlink
callback.

This allows user to enable/disable it via

    devlink health set pci/0000:03:00.0 reporter fw_fatal auto_recover false

Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_devlink.c
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qede/qede_main.c