diff options
author | Moshe Shemesh | 2020-10-07 09:00:44 +0300 |
---|---|---|
committer | Jakub Kicinski | 2020-10-09 12:06:52 -0700 |
commit | dc64cc7c63102ac78bac3cfbc00ef3abd7a3fdf3 (patch) | |
tree | d90ecfdcffb0549c9a0b9df16c743f7b2cb0aeec /ipc/msg.c | |
parent | ccdf07219da6bd1f43c6ddcde4c0e36993c7365a (diff) |
devlink: Add devlink reload limit option
Add reload limit to demand restrictions on reload actions.
Reload limits supported:
no_reset: No reset allowed, no down time allowed, no link flap and no
configuration is lost.
By default reload limit is unspecified and so no constraints on reload
actions are required.
Some combinations of action and limit are invalid. For example, driver
can not reinitialize its entities without any downtime.
The no_reset reload limit will have usecase in this patchset to
implement restricted fw_activate on mlx5.
Have the uapi parameter of reload limit ready for future support of
multiselection.
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions