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
| @@ -90,6 +90,7 @@ enum devlink_command { · 89 unmodified lines | |||
| 90 | DEVLINK_CMD_REGION_READ, | 90 | DEVLINK_CMD_REGION_READ, |
| 91 | 91 | ||
| 92 | DEVLINK_CMD_HEALTH_REPORTER_GET, | 92 | DEVLINK_CMD_HEALTH_REPORTER_GET, |
| 93 | DEVLINK_CMD_HEALTH_REPORTER_SET, | ||
| 93 | 94 | ||
| 94 | /* add new commands above here */ | 95 | /* add new commands above here */ |
| 95 | __DEVLINK_CMD_MAX, | 96 | __DEVLINK_CMD_MAX, |