History

devlink: Add health diagnose command

Add devlink health diagnose command, in order to run a diagnose operation over a specific reporter. It is expected from driver's callback for diagnose command to fill it via the devlink fmsg API. Devlink will parse it and convert it to netlink nla API in order to pass it to the user.

Eran Ben Elisha committed 7 years ago

Commit fca42a21 parent 20a09432 files · +47 −0Browse files

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

Unified · Split

include/uapi/linux/devlink.h+1−0
@@ -99,6 +99,7 @@ enum devlink_command { · 98 unmodified lines
9999 DEVLINK_CMD_HEALTH_REPORTER_GET,
100100 DEVLINK_CMD_HEALTH_REPORTER_SET,
101101 DEVLINK_CMD_HEALTH_REPORTER_RECOVER,
102+ DEVLINK_CMD_HEALTH_REPORTER_DIAGNOSE,
102103
103104 /* add new commands above here */
104105 __DEVLINK_CMD_MAX,