diff options
| author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-02-07 04:36:36 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-07 13:34:28 -0500 |
| commit | a1e55ec0a0c6969cb7e9d9080a84041bb7b2b6e6 (patch) | |
| tree | 4719ccbc9da0069ed52659afe09f4c966b5bc797 /include/uapi/linux/devlink.h | |
| parent | 7afe335a8bede4e2839b0e0fa36ef629fe4a0206 (diff) | |
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 { | |||
| 97 | DEVLINK_CMD_INFO_GET, /* can dump */ | 97 | DEVLINK_CMD_INFO_GET, /* can dump */ |
| 98 | 98 | ||
| 99 | DEVLINK_CMD_HEALTH_REPORTER_GET, | 99 | DEVLINK_CMD_HEALTH_REPORTER_GET, |
| 100 | DEVLINK_CMD_HEALTH_REPORTER_SET, | ||
| 100 | 101 | ||
| 101 | /* add new commands above here */ | 102 | /* add new commands above here */ |
| 102 | __DEVLINK_CMD_MAX, | 103 | __DEVLINK_CMD_MAX, |
