Introduce a test command for health reporters. User might use this command to trigger test event on a reporter if the reporter supports it.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -122,6 +122,8 @@ enum devlink_command { · 121 unmodified lines | |||
| 122 | DEVLINK_CMD_TRAP_POLICER_NEW, | 122 | DEVLINK_CMD_TRAP_POLICER_NEW, |
| 123 | DEVLINK_CMD_TRAP_POLICER_DEL, | 123 | DEVLINK_CMD_TRAP_POLICER_DEL, |
| 124 | 124 | ||
| 125 | DEVLINK_CMD_HEALTH_REPORTER_TEST, | ||
| 126 | |||
| 125 | /* add new commands above here */ | 127 | /* add new commands above here */ |
| 126 | __DEVLINK_CMD_MAX, | 128 | __DEVLINK_CMD_MAX, |
| 127 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 | 129 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 |