Message ID | 20231128115255.773377-2-jiri@resnulli.us (mailing list archive) |
---|---|
State | Accepted |
Commit | 15d74e6588a158e481f38858de34011034957152 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | devlink: warn about existing entities during reload-reinit | expand |
On 11/28/23 12:52, Jiri Pirko wrote: > From: Jiri Pirko <jiri@nvidia.com> > > Be more explicit about devlink entities that may stay and that have to > be removed during reload reinit action. > > Signed-off-by: Jiri Pirko <jiri@nvidia.com> > --- > Documentation/networking/devlink/devlink-reload.rst | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/Documentation/networking/devlink/devlink-reload.rst b/Documentation/networking/devlink/devlink-reload.rst > index 505d22da027d..2fb0269b2054 100644 > --- a/Documentation/networking/devlink/devlink-reload.rst > +++ b/Documentation/networking/devlink/devlink-reload.rst > @@ -22,8 +22,17 @@ By default ``driver_reinit`` action is selected. > * - ``driver-reinit`` > - Devlink driver entities re-initialization, including applying > new values to devlink entities which are used during driver > - load such as ``devlink-params`` in configuration mode > - ``driverinit`` or ``devlink-resources`` > + load which are: > + > + * ``devlink-params`` in configuration mode ``driverinit`` > + * ``devlink-resources`` > + > + Other devlink entities may stay over the re-initialization: > + > + * ``devlink-health-reporter`` > + * ``devlink-region`` > + > + The rest of the devlink entities have to be removed and readded. > * - ``fw_activate`` > - Firmware activate. Activates new firmware if such image is stored and > pending activation. If no limitation specified this action may involve Thank you! Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
diff --git a/Documentation/networking/devlink/devlink-reload.rst b/Documentation/networking/devlink/devlink-reload.rst index 505d22da027d..2fb0269b2054 100644 --- a/Documentation/networking/devlink/devlink-reload.rst +++ b/Documentation/networking/devlink/devlink-reload.rst @@ -22,8 +22,17 @@ By default ``driver_reinit`` action is selected. * - ``driver-reinit`` - Devlink driver entities re-initialization, including applying new values to devlink entities which are used during driver - load such as ``devlink-params`` in configuration mode - ``driverinit`` or ``devlink-resources`` + load which are: + + * ``devlink-params`` in configuration mode ``driverinit`` + * ``devlink-resources`` + + Other devlink entities may stay over the re-initialization: + + * ``devlink-health-reporter`` + * ``devlink-region`` + + The rest of the devlink entities have to be removed and readded. * - ``fw_activate`` - Firmware activate. Activates new firmware if such image is stored and pending activation. If no limitation specified this action may involve