aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorEran Ben Elisha <eranbe@mellanox.com>2019-01-17 16:59:15 -0500
committerDavid S. Miller <davem@davemloft.net>2019-01-18 17:51:23 -0500
commitfcd852c69d776c0f46c8f79e8e431e5cc6ddc7b7 (patch)
treed675d0d9a09cdbad4b49f2add50d7b2c31087006 /include/uapi/linux
parent6f9d56132eb6d2603d4273cfc65bed914ec47acb (diff)
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')
-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 {
91 91
92 DEVLINK_CMD_HEALTH_REPORTER_GET, 92 DEVLINK_CMD_HEALTH_REPORTER_GET,
93 DEVLINK_CMD_HEALTH_REPORTER_SET, 93 DEVLINK_CMD_HEALTH_REPORTER_SET,
94 DEVLINK_CMD_HEALTH_REPORTER_RECOVER,
94 95
95 /* add new commands above here */ 96 /* add new commands above here */
96 __DEVLINK_CMD_MAX, 97 __DEVLINK_CMD_MAX,