Re: [PATCH net-next v2 03/16] devlink: Add devlink reload limit option

From: Jiri Pirko
Date: Thu Oct 08 2020 - 03:39:11 EST


Wed, Oct 07, 2020 at 08:00:44AM CEST, moshe@xxxxxxxxxxxx wrote:
>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@xxxxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>