Add support for performing driver hot reload.
Showing the changes to include/uapi/linux/devlink.h (1 of 3 files). Show all
Unified · Split
| @@ -73,6 +73,11 @@ enum devlink_command { · 72 unmodified lines | ||
| 73 | 73 | DEVLINK_CMD_RESOURCE_SET, |
| 74 | 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 | 81 | /* add new commands above here */ |
| 77 | 82 | __DEVLINK_CMD_MAX, |
| 78 | 83 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 |