diff options
author | Eran Ben Elisha | 2019-02-07 10:36:36 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-07 19:34:28 +0100 |
commit | a1e55ec0a0c6969cb7e9d9080a84041bb7b2b6e6 (patch) | |
tree | 4719ccbc9da0069ed52659afe09f4c966b5bc797 /include/uapi/linux/devlink.h | |
parent | devlink: Add health get command (diff) | |
download | kernel-qcow2-linux-a1e55ec0a0c6969cb7e9d9080a84041bb7b2b6e6.tar.gz kernel-qcow2-linux-a1e55ec0a0c6969cb7e9d9080a84041bb7b2b6e6.tar.xz kernel-qcow2-linux-a1e55ec0a0c6969cb7e9d9080a84041bb7b2b6e6.zip |
devlink: Add health set command
Add devlink health set command, in order to set configuration parameters
for a specific reporter.
Supported parameters are:
- graceful_period: Time interval between auto recoveries (in msec)
- auto_recover: Determines if the devlink shall execute recover upon
receiving error for the 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h index d8f20d6ce139..b03065a99884 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -97,6 +97,7 @@ enum devlink_command { DEVLINK_CMD_INFO_GET, /* can dump */ DEVLINK_CMD_HEALTH_REPORTER_GET, + DEVLINK_CMD_HEALTH_REPORTER_SET, /* add new commands above here */ __DEVLINK_CMD_MAX, |