]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: Add devlink health recover command
authorAya Levin <ayal@mellanox.com>
Thu, 28 Feb 2019 12:12:59 +0000 (14:12 +0200)
committerDavid Ahern <dsahern@gmail.com>
Thu, 28 Feb 2019 15:55:50 +0000 (07:55 -0800)
commit9083a1344d8cbdd4282c22eec6a1f629059221f1
tree487ad3223ae31801ae7283b82ed1d4a606a2acde
parent2f1242efe9d054b82d240dc8b152d2a48dcb0b48
devlink: Add devlink health recover command

Add devlink health recover command which enables the user to initiate a
recovery on a reporter (if a recovery cb was supplied by the reporter).
This operation will increment the recoveries counter displayed in the
show command.
Example:
$ devlink health recover pci/0000:00:09.0 reporter tx

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>
devlink/devlink.c