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
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -97,6 +97,7 @@ enum devlink_command { · 96 unmodified lines | ||
| 97 | 97 | DEVLINK_CMD_INFO_GET, /* can dump */ |
| 98 | 98 | |
| 99 | 99 | DEVLINK_CMD_HEALTH_REPORTER_GET, |
| 100 | + DEVLINK_CMD_HEALTH_REPORTER_SET, | |
| 100 | 101 | |
| 101 | 102 | /* add new commands above here */ |
| 102 | 103 | __DEVLINK_CMD_MAX, |