mirror_iproute2/devlink
Aya Levin b18d89195b devlink: Add devlink health set command
Add devlink set command which enables the user to configure parameters
related to the devlink health mechanism per reporter.
1) grace_period [msec] time interval between auto recoveries.
2) auto_recover [true/false] whether the devlink should execute automatic
recover on error.
Add a helper function to retrieve a boolean value as an input parameter.
Example:
$ 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

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2019-02-28 07:56:16 -08:00
..
.gitignore devlink: ignore build result 2016-04-11 13:35:12 -07:00
devlink.c devlink: Add devlink health set command 2019-02-28 07:56:16 -08:00
Makefile iproute2: Installation errors without libmnl 2018-12-04 14:27:08 -08:00
mnlg.c devlink: CTRL_ATTR_FAMILY_ID is a u16 2018-07-23 13:44:36 -07:00
mnlg.h add devlink tool 2016-03-27 10:57:15 -07:00