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
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 - 1129 DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1