devlink-health
devlink health reporting and recovery
- Provided by: iproute2 (Version: 5.5.0-1ubuntu1)
- Report a bug
devlink health reporting and recovery
devlink [ OPTIONS ] health { COMMAND | help }
OPTIONS := { -V[ersion] }
devlink health show [ DEV reporter REPORTER ]
devlink health recover DEV reporter REPORTER
devlink health diagnose DEV reporter REPORTER
devlink health dump show DEV reporter REPORTER
devlink health dump clear DEV reporter REPORTER
devlink health set DEV reporter REPORTER { grace_period | auto_recover } { msec | boolean } devlink health help
DEV - specifies the devlink device.
REPORTER - specifies the reporter's name registered on the devlink device.
This action performs a recovery and increases the recoveries counter on success.
DEV - specifies the devlink device.
REPORTER - specifies the reporter's name registered on the devlink device.
DEV - specifies the devlink device.
REPORTER - specifies the reporter's name registered on the devlink device.
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.
REPORTER - specifies the reporter's name registered on the devlink device.
Deleting the saved dump enables a generation of a new dump on
the next "devlink health dump show" command.
DEV - specifies the devlink device.
REPORTER - specifies the reporter's name registered on the devlink device.
1) grace_period [msec] - Time interval between consecutive auto recoveries.
2) auto_recover [true/false] - Indicates whether the devlink should execute automatic recover on error.
Please note that this command is not supported on a reporter which doesn't support a recovery method.
DEV - specifies the devlink device.
REPORTER - specifies the reporter's name registered on the devlink device.
devlink health show
devlink health recover pci/0000:00:09.0 reporter tx
devlink health diagnose pci/0000:00:09.0 reporter tx
devlink health dump show pci/0000:00:09.0 reporter tx
devlink health dump clear pci/0000:00:09.0 reporter tx
devlink health set pci/0000:00:09.0 reporter tx grace_period 3500
devlink health set pci/0000:00:09.0 reporter tx auto_recover false
devlink(8), devlink-dev(8), devlink-port(8), devlink-param(8), devlink-region(8),
Aya Levin <ayal@mellanox.com>