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
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,