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