diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-04-19 19:04:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-21 09:29:12 +0200 |
commit | 25b450c05a49e34f2d08ac469ae19d7651abc57c (patch) | |
tree | f1cdf296a45800ac638beea50e075c50ec27091a /Documentation | |
parent | pds_core: health timer and workqueue (diff) | |
download | linux-25b450c05a49e34f2d08ac469ae19d7651abc57c.tar.xz linux-25b450c05a49e34f2d08ac469ae19d7651abc57c.zip |
pds_core: add devlink health facilities
Add devlink health reporting on top of our fw watchdog.
Example:
# devlink health show pci/0000:2b:00.0 reporter fw
pci/0000:2b:00.0:
reporter fw
state healthy error 0 recover 0
# devlink health diagnose pci/0000:2b:00.0 reporter fw
Status: healthy State: 1 Generation: 0 Recoveries: 0
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/device_drivers/ethernet/amd/pds_core.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst b/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst index 99a70026f1bc..5b88173a20ff 100644 --- a/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst +++ b/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst @@ -26,6 +26,18 @@ messages such as these:: pds_core 0000:b6:00.0: 252.048 Gb/s available PCIe bandwidth (16.0 GT/s PCIe x16 link) pds_core 0000:b6:00.0: FW: 1.60.0-73 +Health Reporters +================ + +The driver supports a devlink health reporter for FW status:: + + # devlink health show pci/0000:2b:00.0 reporter fw + pci/0000:2b:00.0: + reporter fw + state healthy error 0 recover 0 + # devlink health diagnose pci/0000:2b:00.0 reporter fw + Status: healthy State: 1 Generation: 0 Recoveries: 0 + Support ======= |