devlink-health
(8)devlink health reporting and recovery
DESCRIPTION
devlink health show - Show status and configuration on all supported reporters.
Displays info about reporters registered on devlink devices and ports.
DEV - specifies the devlink device.
DEV/PORT_INDEX - specifies the devlink port.
REPORTER - specifies the reporter's name registered on specified devlink device or port.
devlink health recover - Initiate a recovery operation on a reporter.
This action performs a recovery and increases the recoveries counter on success.
DEV - specifies the devlink device.
DEV/PORT_INDEX - specifies the devlink port.
REPORTER - specifies the reporter's name registered on specified devlink device or port.
devlink health diagnose - Retrieve diagnostics data on a reporter.
DEV - specifies the devlink device.
DEV/PORT_INDEX - specifies the devlink port.
REPORTER - specifies the reporter's name registered on specified devlink device or port.
devlink health test - Trigger a test event on a reporter.
DEV - specifies the devlink device.
REPORTER - specifies the reporter's name registered on the devlink device.
devlink health dump show - Display the last saved dump.
devlink health saves a single dump per reporter. If an dump is
not already stored by the Devlink, this command will generate a new
dump. The dump can be generated either automatically when a
reporter reports on an error or manually at the user's request.
DEV - specifies the devlink device.
DEV/PORT_INDEX - specifies the devlink port.
REPORTER - specifies the reporter's name registered on specified devlink device or port.
devlink health dump clear - Delete the saved dump.
Deleting the saved dump enables a generation of a new dump on
the next "devlink health dump show" command.
DEV - specifies the devlink device.
DEV/PORT_INDEX - specifies the devlink port.
REPORTER - specifies the reporter's name registered on specified devlink device or port.
devlink health set - Configure health reporter.
Please note that some params are not supported on a reporter which doesn't support a recovery or dump method.
DEV - specifies the devlink device.
DEV/PORT_INDEX - specifies the devlink port.
REPORTER - specifies the reporter's name registered on specified devlink device or port.
- grace_period MSEC
- Time interval between consecutive auto recoveries.
- auto_recover { true | false }
- Indicates whether the devlink should execute automatic recover on error.
- auto_dump { true | false }
- Indicates whether the devlink should execute automatic dump on error.
EXAMPLES
devlink health show
devlink health show pci/0000:00:09.0/1 reporter tx
devlink health recover pci/0000:00:09.0 reporter fw_fatal
devlink health recover pci/0000:00:09.0/1 reporter tx
devlink health diagnose pci/0000:00:09.0 reporter fw
devlink health dump show pci/0000:00:09.0/1 reporter tx
devlink health dump clear pci/0000:00:09.0/1 reporter tx
devlink health set pci/0000:00:09.0 reporter fw_fatal grace_period 3500
devlink health set pci/0000:00:09.0/1 reporter tx grace_period 3500
devlink health set pci/0000:00:09.0 reporter fw_fatal auto_recover false
AUTHOR
Aya Levin ayal@mellanox.com