History

devlink: introduce the health reporter test command

Introduce a test command for health reporters. User might use this command to trigger test event on a reporter if the reporter supports it.

Jiri Pirko committed 6 years ago

Commit e2ce94d1 parent 191c0c23 files · +35 −0Browse files

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

Unified · Split

include/uapi/linux/devlink.h+2−0
@@ -122,6 +122,8 @@ enum devlink_command { · 121 unmodified lines
122122 DEVLINK_CMD_TRAP_POLICER_NEW,
123123 DEVLINK_CMD_TRAP_POLICER_DEL,
124124
125+ DEVLINK_CMD_HEALTH_REPORTER_TEST,
126+
125127 /* add new commands above here */
126128 __DEVLINK_CMD_MAX,
127129 DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1