diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2019-01-17 23:59:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-18 14:51:22 -0800 |
commit | 6f9d56132eb6d2603d4273cfc65bed914ec47acb (patch) | |
tree | 135a29a20cbcbf2735b1de115a13f1499af23e80 /include/uapi/linux/devlink.h | |
parent | ff253fedab961b22117a73ab808fcfa9e6852b50 (diff) | |
download | talos-op-linux-6f9d56132eb6d2603d4273cfc65bed914ec47acb.tar.gz talos-op-linux-6f9d56132eb6d2603d4273cfc65bed914ec47acb.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>
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 c05470578b99..49ad5a76b121 100644 --- a/include/uapi/linux/devlink.h +++ b/include/uapi/linux/devlink.h @@ -90,6 +90,7 @@ enum devlink_command { DEVLINK_CMD_REGION_READ, DEVLINK_CMD_HEALTH_REPORTER_GET, + DEVLINK_CMD_HEALTH_REPORTER_SET, /* add new commands above here */ __DEVLINK_CMD_MAX, |