summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2019-02-07 12:36:37 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-07 21:34:28 +0300
commit20a0943a5b237f7d59dc581e9e3637f5c87f1fde (patch)
treec03c81fa77bdaf8e8ebd3d7d99ebaf3f4a20c30b /include/uapi
parenta1e55ec0a0c6969cb7e9d9080a84041bb7b2b6e6 (diff)
downloadlinux-20a0943a5b237f7d59dc581e9e3637f5c87f1fde.tar.xz
devlink: Add health recover command
Add devlink health recover command to the uapi, in order to allow the user to execute a recover operation over a specific reporter. Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/devlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h
index b03065a99884..a3a97e6edad8 100644
--- a/include/uapi/linux/devlink.h
+++ b/include/uapi/linux/devlink.h
@@ -98,6 +98,7 @@ enum devlink_command {
DEVLINK_CMD_HEALTH_REPORTER_GET,
DEVLINK_CMD_HEALTH_REPORTER_SET,
+ DEVLINK_CMD_HEALTH_REPORTER_RECOVER,
/* add new commands above here */
__DEVLINK_CMD_MAX,