summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/devlink.h
diff options
context:
space:
mode:
authorEran Ben Elisha2019-01-17 22:59:15 +0100
committerDavid S. Miller2019-01-18 23:51:23 +0100
commitfcd852c69d776c0f46c8f79e8e431e5cc6ddc7b7 (patch)
treed675d0d9a09cdbad4b49f2add50d7b2c31087006 /include/uapi/linux/devlink.h
parentdevlink: Add health set command (diff)
downloadkernel-qcow2-linux-fcd852c69d776c0f46c8f79e8e431e5cc6ddc7b7.tar.gz
kernel-qcow2-linux-fcd852c69d776c0f46c8f79e8e431e5cc6ddc7b7.tar.xz
kernel-qcow2-linux-fcd852c69d776c0f46c8f79e8e431e5cc6ddc7b7.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> 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 49ad5a76b121..1c186fd77343 100644
--- a/include/uapi/linux/devlink.h
+++ b/include/uapi/linux/devlink.h
@@ -91,6 +91,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,