diff mbox series

[net-next,1/2] Documentation: devlink: extend reload-reinit description

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

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/codegen success Generated files up to date
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/cc_maintainers warning 1 maintainers not CCed: linux-doc@vger.kernel.org
netdev/build_clang success Errors and warnings before: 8 this patch: 8
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 8 this patch: 8
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 19 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Jiri Pirko Nov. 28, 2023, 11:52 a.m. UTC
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(-)

Comments

Przemek Kitszel Nov. 28, 2023, 12:38 p.m. UTC | #1
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 mbox series

Patch

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