summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/devlink.h
diff options
context:
space:
mode:
authorEran Ben Elisha2019-02-07 10:36:37 +0100
committerDavid S. Miller2019-02-07 19:34:28 +0100
commit20a0943a5b237f7d59dc581e9e3637f5c87f1fde (patch)
treec03c81fa77bdaf8e8ebd3d7d99ebaf3f4a20c30b /include/uapi/linux/devlink.h
parentdevlink: Add health set command (diff)
downloadkernel-qcow2-linux-20a0943a5b237f7d59dc581e9e3637f5c87f1fde.tar.gz
kernel-qcow2-linux-20a0943a5b237f7d59dc581e9e3637f5c87f1fde.tar.xz
kernel-qcow2-linux-20a0943a5b237f7d59dc581e9e3637f5c87f1fde.zip
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/linux/devlink.h')
-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,