History

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

Eran Ben Elisha committed 7 years ago

Commit 6f9d5611 parent ff253fe2 files · +37 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/devlink.h+1−0
@@ -90,6 +90,7 @@ enum devlink_command { · 89 unmodified lines
9090 DEVLINK_CMD_REGION_READ,
9191
9292 DEVLINK_CMD_HEALTH_REPORTER_GET,
93+ DEVLINK_CMD_HEALTH_REPORTER_SET,
9394
9495 /* add new commands above here */
9596 __DEVLINK_CMD_MAX,