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
7373 DEVLINK_CMD_RESOURCE_SET,
7474 DEVLINK_CMD_RESOURCE_DUMP,
7575
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+
7681 /* add new commands above here */
7782 __DEVLINK_CMD_MAX,
7883 DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1