History

devlink: Add support for reload

Add support for performing driver hot reload.

Arkadi Sharshevsky committed 8 years ago

Commit 2d8dc5b1 parent d9f9b9a3 files · +53 −0Browse files

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

Unified · Split

include/uapi/linux/devlink.h+5−0
@@ -73,6 +73,11 @@ enum devlink_command { · 72 unmodified lines
73 DEVLINK_CMD_RESOURCE_SET,73 DEVLINK_CMD_RESOURCE_SET,
74 DEVLINK_CMD_RESOURCE_DUMP,74 DEVLINK_CMD_RESOURCE_DUMP,
75 75
76 /* Hot driver reload, makes configuration changes take place. The
77 * devlink instance is not released during the process.
78 */
79 DEVLINK_CMD_RELOAD,
80
76 /* add new commands above here */81 /* add new commands above here */
77 __DEVLINK_CMD_MAX,82 __DEVLINK_CMD_MAX,
78 DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 183 DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1