Commit Graph

83 Commits

Author SHA1 Message Date
Petr Oros 298f4a3ca9 devlink: extend multicast filtering by port index
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit ded6f77c05b113001d449cf2cc810e090f20ec4a
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Dec 16 13:30:01 2023 +0100

    devlink: extend multicast filtering by port index

    Expose the previously introduced notification multicast messages
    filtering infrastructure and allow the user to select messages using
    port index.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:10 +02:00
Petr Oros d32acff1d1 devlink: add a command to set notification filter and use it for multicasts
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 13b127d2578432e1e521310b69944c5a1b30679c
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Dec 16 13:30:00 2023 +0100

    devlink: add a command to set notification filter and use it for multicasts

    Currently the user listening on a socket for devlink notifications
    gets always all messages for all existing instances, even if he is
    interested only in one of those. That may cause unnecessary overhead
    on setups with thousands of instances present.

    User is currently able to narrow down the devlink objects replies
    to dump commands by specifying select attributes.

    Allow similar approach for notifications. Introduce a new devlink
    NOTIFY_FILTER_SET which the user passes the select attributes. Store
    these per-socket and use them for filtering messages
    during multicast send.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:10 +02:00
Petr Oros 8b6e99b243 devlink: introduce a helper for netlink multicast send
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 5648de0b1f2b68bffce9bdd49a276607b9a3e3d4
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Dec 16 13:29:56 2023 +0100

    devlink: introduce a helper for netlink multicast send

    Introduce a helper devlink_nl_notify_send() so each object notification
    function does not have to call genlmsg_multicast_netns() with the same
    arguments.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:10 +02:00
Petr Oros 9c60d75257 devlink: send notifications only if there are listeners
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit cddbff470e3318834af518168d3a917b6e975062
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Dec 16 13:29:55 2023 +0100

    devlink: send notifications only if there are listeners

    Introduce devlink_nl_notify_need() helper and using it to check at the
    beginning of notification functions to avoid overhead of composing
    notification messages in case nobody listens.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:10 +02:00
Petr Oros 987f28e0e7 devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark()
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 11280ddeae238e3ea27d153794472cfca5e8d121
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Dec 16 13:29:54 2023 +0100

    devlink: introduce __devl_is_registered() helper and use it instead of xa_get_mark()

    Introduce __devl_is_registered() which does not assert on devlink
    instance lock and use it in notifications which may be called
    without devlink instance lock held.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:09 +02:00
Petr Oros 33afa4c3ac devlink: Allow taking device lock in pre_doit operations
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit d32c38256db30a2d55b849e2c77342bc70d58c6e
Author: Ido Schimmel <idosch@nvidia.com>
Date:   Wed Nov 15 13:17:13 2023 +0100

    devlink: Allow taking device lock in pre_doit operations

    Introduce a new private flag ('DEVLINK_NL_FLAG_NEED_DEV_LOCK') to allow
    netlink commands to specify that they need to acquire the device lock in
    their pre_doit operation and release it in their post_doit operation.

    The reload command will use this flag in the subsequent patch.

    No functional changes intended.

    Signed-off-by: Ido Schimmel <idosch@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Petr Machata <petrm@nvidia.com>
    Reviewed-by: Simon Horman <horms@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:05 +02:00
Petr Oros c3569b4b6e devlink: Acquire device lock during netns dismantle
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit e21c52d7814f5768f05224e773644629fe124af2
Author: Ido Schimmel <idosch@nvidia.com>
Date:   Wed Nov 15 13:17:11 2023 +0100

    devlink: Acquire device lock during netns dismantle

    Device drivers register with devlink from their probe routines (under
    the device lock) by acquiring the devlink instance lock and calling
    devl_register().

    Drivers that support a devlink reload usually implement the
    reload_{down, up}() operations in a similar fashion to their remove and
    probe routines, respectively.

    However, while the remove and probe routines are invoked with the device
    lock held, the reload operations are only invoked with the devlink
    instance lock held. It is therefore impossible for drivers to acquire
    the device lock from their reload operations, as this would result in
    lock inversion.

    The motivating use case for invoking the reload operations with the
    device lock held is in mlxsw which needs to trigger a PCI reset as part
    of the reload. The driver cannot call pci_reset_function() as this
    function acquires the device lock. Instead, it needs to call
    __pci_reset_function_locked which expects the device lock to be held.

    To that end, adjust devlink to always acquire the device lock before the
    devlink instance lock when performing a reload.

    For now, only do that when reload is triggered as part of netns
    dismantle. Subsequent patches will handle the case where reload is
    explicitly triggered by user space.

    Signed-off-by: Ido Schimmel <idosch@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Petr Machata <petrm@nvidia.com>
    Reviewed-by: Simon Horman <horms@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:05 +02:00
Petr Oros 2d07429340 devlink: Move private netlink flags to C file
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 526dd6d7877b80b1f56d87156b65b8227c69d59f
Author: Ido Schimmel <idosch@nvidia.com>
Date:   Wed Nov 15 13:17:10 2023 +0100

    devlink: Move private netlink flags to C file

    The flags are not used outside of the C file so move them there.

    Suggested-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Ido Schimmel <idosch@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Petr Machata <petrm@nvidia.com>
    Reviewed-by: Simon Horman <horms@kernel.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:05 +02:00
Petr Oros 00ffe14631 devlink: remove duplicated netlink callback prototypes
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 15c80e7a53d28aeb7354ef6d79d0ff55452e53f1
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Oct 21 13:27:10 2023 +0200

    devlink: remove duplicated netlink callback prototypes

    The prototypes are now generated, remove the old ones.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
    Link: https://lore.kernel.org/r/20231021112711.660606-10-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:04 +02:00
Petr Oros 73146979d4 devlink: rename netlink callback to be aligned with the generated ones
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 53590934ba9549c55c57a32e2a6980139af00345
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Sat Oct 21 13:27:08 2023 +0200

    devlink: rename netlink callback to be aligned with the generated ones

    All remaining doit and dumpit netlink callback functions are going to be
    used by generated split ops. They expect certain name format. Rename the
    callback to be aligned with generated names.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
    Link: https://lore.kernel.org/r/20231021112711.660606-8-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:04 +02:00
Petr Oros a27d3bd029 devlink: introduce possibility to expose info about nested devlinks
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit c5e1bf8a51cfe5060e91c7533098e329c0118f6d
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Wed Sep 13 09:12:42 2023 +0200

    devlink: introduce possibility to expose info about nested devlinks

    In mlx5, there is a devlink instance created for PCI device. Also, one
    separate devlink instance is created for auxiliary device that
    represents the netdev of uplink port. This relation is currently
    invisible to the devlink user.

    Benefit from the rel infrastructure and allow for nested devlink
    instance to set the relationship for the nested-in devlink instance.
    Note that there may be many nested instances, therefore use xarray to
    hold the list of rel_indexes for individual nested instances.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:00 +02:00
Petr Oros ddad7fb46e devlink: introduce object and nested devlink relationship infra
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit c137743bce02b18c1537d4681aa515f7b80bf0a8
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Wed Sep 13 09:12:38 2023 +0200

    devlink: introduce object and nested devlink relationship infra

    It is a bit tricky to maintain relationship between devlink objects and
    nested devlink instances due to following aspects:

    1) Locking. It is necessary to lock the devlink instance that contains
       the object first, only after that to lock the nested instance.
    2) Lifetimes. Objects (e.g devlink port) may be removed before
       the nested devlink instance.
    3) Notifications. If nested instance changes (e.g. gets
       registered/unregistered) the nested-in object needs to send
       appropriate notifications.

    Resolve this by introducing an xarray that holds 1:1 relationships
    between devlink object and related nested devlink instance.
    Use that xarray index to get the object/nested devlink instance on
    the other side.

    Provide necessary helpers:
    devlink_rel_nested_in_add/clear() to add and clear the relationship.
    devlink_rel_nested_in_notify() to call the nested-in object to send
            notifications during nested instance register/unregister/netns
            change.
    devlink_rel_devlink_handle_put() to be used by nested-in object fill
            function to fill the nested handle.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:00 +02:00
Petr Oros d85d2b504b devlink: extend devlink_nl_put_nested_handle() with attrtype arg
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit 1c2197c47a93d0ea36e73e437271c7cbcc0e1ceb
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Wed Sep 13 09:12:37 2023 +0200

    devlink: extend devlink_nl_put_nested_handle() with attrtype arg

    As the next patch is going to call this helper with need to fill another
    type of nested attribute, pass it over function arg.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:16:00 +02:00
Petr Oros bd8ba7a254 devlink: move devlink_nl_put_nested_handle() into netlink.c
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit af1f1400af02e5a069d86ae7001b563c99395ea2
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Wed Sep 13 09:12:36 2023 +0200

    devlink: move devlink_nl_put_nested_handle() into netlink.c

    As the next patch is going to call this helper out of the linecard.c,
    move to netlink.c.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:15:59 +02:00
Petr Oros a85eade209 devlink: move linecard struct into linecard.c
JIRA: https://issues.redhat.com/browse/RHEL-30145

Upstream commit(s):
commit d0b7e990f760ec9a614fbe5f89a5cede4335a7bb
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Wed Sep 13 09:12:32 2023 +0200

    devlink: move linecard struct into linecard.c

    Instead of exposing linecard struct, expose a simple helper to get the
    linecard index, which is all is needed outside linecard.c. Move the
    linecard struct to linecard.c and keep it private similar to the rest of
    the devlink objects.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2024-04-26 17:15:59 +02:00
Ivan Vecera 46ef5b0dfd devlink: move devlink_notify_register/unregister() to dev.c
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 71179ac5c21185171556bc438d5f22d566948d7f
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:57 2023 +0200

    devlink: move devlink_notify_register/unregister() to dev.c

    At last, move the last bits out of leftover.c,
    the devlink_notify_register/unregister() functions to dev.c

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-16-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:34 +02:00
Ivan Vecera b82a843753 devlink: move small_ops definition into netlink.c
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 29a390d17748d93f9e6bc6fb0e09d89571aa25f6
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:56 2023 +0200

    devlink: move small_ops definition into netlink.c

    Move the generic netlink small_ops definition where they are consumed,
    into netlink.c

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-15-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:34 +02:00
Ivan Vecera aa11b4eb8a devlink: push linecard related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 9edbe6f36c5f86776cc1c6ba0f546a4aefe2767f
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:54 2023 +0200

    devlink: push linecard related code into separate file

    Cut out another chunk from leftover.c and put linecard related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-13-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera 8658b3b37d devlink: push rate related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 7cc7194e85ca01185f9d123e68189ef0a40f0c6a
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:53 2023 +0200

    devlink: push rate related code into separate file

    Cut out another chunk from leftover.c and put rate related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-12-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera 16e9a1e99d devlink: push trap related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 4bbdec80ff270a69b6b61644c597ad6657f2a58b
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:52 2023 +0200

    devlink: push trap related code into separate file

    Cut out another chunk from leftover.c and put trap related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-11-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera 222020c6e2 devlink: push region related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 1aa47ca1f52ee4ef5f553e7ee8fb6749b6c96b9f
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:50 2023 +0200

    devlink: push region related code into separate file

    Cut out another chunk from leftover.c and put region related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-9-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera ee3b3423a6 devlink: push param related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 830c41e1e987d9745a01b06c5f86434df8bd5f58
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:49 2023 +0200

    devlink: push param related code into separate file

    Cut out another chunk from leftover.c and put param related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-8-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera 7ee56126c9 devlink: push resource related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit a9f960074ecd9db292744db2491a0cbbd354e24b
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:48 2023 +0200

    devlink: push resource related code into separate file

    Cut out another chunk from leftover.c and put resource related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-7-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera 5ef5a6d527 devlink: push dpipe related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit a9fd44b15fc5625ee0a38661e773444f6bf31b3d
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:47 2023 +0200

    devlink: push dpipe related code into separate file

    Cut out another chunk from leftover.c and put dpipe related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-6-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera cf4877bf90 devlink: move and rename devlink_dpipe_send_and_alloc_skb() helper
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 2475ed158c478c624d8fbc8d639d344a960c1ad8
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:46 2023 +0200

    devlink: move and rename devlink_dpipe_send_and_alloc_skb() helper

    Since both dpipe and resource code is using this helper, in preparation
    for code split to separate files, move
    devlink_dpipe_send_and_alloc_skb() helper into netlink.c. Rename it on
    the way.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-5-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera fcf7da78b7 devlink: push shared buffer related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 2b4d8bb0888930b4a26cd46ec067753228877488
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:45 2023 +0200

    devlink: push shared buffer related code into separate file

    Cut out another chunk from leftover.c and put sb related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-4-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera 938acf8c08 devlink: push port related code into separate file
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit eec1e5ea1d715ce2df8dcdf3dac7112df77a6e17
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Mon Aug 28 08:16:44 2023 +0200

    devlink: push port related code into separate file

    Cut out another chunk from leftover.c and put port related code
    into a separate file.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Link: https://lore.kernel.org/r/20230828061657.300667-3-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:33 +02:00
Ivan Vecera d65e7f5752 devlink: remove converted commands from small ops
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 833e479d330c29aa4cfd35b8647d5993d5a78643
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:10 2023 +0200

    devlink: remove converted commands from small ops

    As the commands are already defined in split ops, remove them
    from small ops.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-10-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:30 +02:00
Ivan Vecera a4772a8b2c devlink: remove duplicate temporary netlink callback prototypes
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit ddff283280ba0a6b84929f357859f7ea74cecfbe
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:09 2023 +0200

    devlink: remove duplicate temporary netlink callback prototypes

    Remove the duplicate temporary netlink callback prototype as the
    generated ones are already in place.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-9-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:30 +02:00
Ivan Vecera 33e81c6578 devlink: pass flags as an arg of dump_one() callback
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 7d3c6fec6135e10842587f38a15d7d06fd02c21f
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:07 2023 +0200

    devlink: pass flags as an arg of dump_one() callback

    In order to easily set NLM_F_DUMP_FILTERED for partial dumps, pass the
    flags as an arg of dump_one() callback. Currently, it is always
    NLM_F_MULTI.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-7-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:30 +02:00
Ivan Vecera 04f6da8c7a devlink: introduce dumpit callbacks for split ops
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 24c8e56d4f983527cc5e1f6d771fef8ec7ce352e
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:06 2023 +0200

    devlink: introduce dumpit callbacks for split ops

    Introduce dumpit callbacks for generated split ops. Have them
    as a thin wrapper around iteration function and allow to pass dump_one()
    function pointer directly without need to store in devlink_cmd structs.

    Note that the function prototypes are temporary until the generated ones
    will replace them in a follow-up patch.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-6-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera 42aeba8287 devlink: rename doit callbacks for per-instance dump commands
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 8fa995ad1f7f8f615b479edcf540cc12fe7b87ba
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:05 2023 +0200

    devlink: rename doit callbacks for per-instance dump commands

    Rename netlink doit callback functions for the commands that do
    implement per-instance dump to match the generated names that are going
    to be introduce in the follow-up patch.

    Note that the function prototypes are temporary until the generated ones
    will replace them in a follow-up patch.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-5-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera 86a262a937 devlink: introduce devlink_nl_pre_doit_port*() helper functions
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit ee6d78ac28c708c62fd83595e9366b0eb0deb014
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:04 2023 +0200

    devlink: introduce devlink_nl_pre_doit_port*() helper functions

    Define port handling helpers what don't rely on internal_flags.
    Have __devlink_nl_pre_doit() to accept the flags as a function arg and
    make devlink_nl_pre_doit() a wrapper helper function calling it.
    Introduce new helpers devlink_nl_pre_doit_port() and
    devlink_nl_pre_doit_port_optional() to be used by split ops in follow-up
    patch.

    Note that the function prototypes are temporary until the generated ones
    will replace them in a follow-up patch.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-4-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera 43241b40cc devlink: parse rate attrs in doit() callbacks
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 41a1d4d1399af0f4ba9754086b23f7b9576eb25f
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:03 2023 +0200

    devlink: parse rate attrs in doit() callbacks

    No need to give the rate any special treatment in netlink attributes
    parsing, as unlike for ports, there is only a couple of commands
    benefiting from that.

    Remove DEVLINK_NL_FLAG_NEED_RATE*, make pre_doit() callback simpler
    by moving the rate attributes parsing to rate_*_doit() ops.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-3-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera c79b906811 devlink: parse linecard attr in doit() callbacks
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 63618463cb94bda3ee68dc2ada998c0ef3c00e67
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Aug 11 17:57:02 2023 +0200

    devlink: parse linecard attr in doit() callbacks

    No need to give the linecards any special treatment in netlink attribute
    parsing, as unlike for ports, there is only a couple of commands
    benefiting from that.

    Remove DEVLINK_NL_FLAG_NEED_LINECARD, make pre_doit() callback simpler
    by moving the linecard attribute parsing to linecard_[gs]et_doit() ops.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230811155714.1736405-2-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera f0a3e0d6a2 devlink: use generated split ops and remove duplicated commands from small ops
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 6e067d0cab68a64ef3488b5639a66b65e91b146d
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Thu Aug 3 13:13:40 2023 +0200

    devlink: use generated split ops and remove duplicated commands from small ops

    Do the switch and use generated split ops for get and info_get commands.
    Remove those from small ops array.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230803111340.1074067-13-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera e5d43ad6a2 devlink: include the generated netlink header
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit b2551b1517d86ff5e258e7bc834e5be0e1ce08de
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Thu Aug 3 13:13:39 2023 +0200

    devlink: include the generated netlink header

    Put the newly added generated header to the include list. Remove the
    duplicated temporary function prototypes.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230803111340.1074067-12-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:29 +02:00
Ivan Vecera 214805e93a devlink: un-static devlink_nl_pre/post_doit()
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 8300dce542e45c50ef318c4493bbb2e7966a883c
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Thu Aug 3 13:13:36 2023 +0200

    devlink: un-static devlink_nl_pre/post_doit()

    To be prepared for the follow-up generated split ops addition,
    make the functions devlink_nl_pre_doit() and devlink_nl_post_doit()
    usable outside of netlink.c. Introduce temporary prototypes which are
    going to be removed once the generated header will be included.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230803111340.1074067-9-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:28 +02:00
Ivan Vecera ebba2c624c devlink: introduce couple of dumpit callbacks for split ops
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit 491a24872a64cbb8edf996b6113a97586702e5ca
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Thu Aug 3 13:13:35 2023 +0200

    devlink: introduce couple of dumpit callbacks for split ops

    Introduce couple of dumpit callbacks for generated split ops. Have them
    as a thin wrapper around iteration function and allow to pass dump_one()
    function pointer directly without need to store in devlink_cmd structs.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230803111340.1074067-8-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:28 +02:00
Ivan Vecera 2fa72d4f01 devlink: rename couple of doit netlink callbacks to match generated names
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit d61aedcf628ef7467d69638c3b3e5e33cafd75aa
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Thu Aug 3 13:13:34 2023 +0200

    devlink: rename couple of doit netlink callbacks to match generated names

    The generated names of the doit netlink callback are missing "cmd" in
    their names. Change names to be ready to switch to generated split ops
    header.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230803111340.1074067-7-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:28 +02:00
Ivan Vecera 8d6fb0c41a devlink: rename devlink_nl_ops to devlink_nl_small_ops
JIRA: https://issues.redhat.com/browse/RHEL-30656

commit ba0f66c95fa670d99ad40e4a6c1ede425446a291
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Thu Aug 3 13:13:33 2023 +0200

    devlink: rename devlink_nl_ops to devlink_nl_small_ops

    In order to avoid name collision with the generated split ops array
    which is going to be introduced as a follow-up patch, rename
    the existing ops array to devlink_nl_small_ops.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Link: https://lore.kernel.org/r/20230803111340.1074067-6-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2024-04-10 09:19:28 +02:00
Davide Caratti 82ef3982f6 devlink: change per-devlink netdev notifier to static one
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2219326
Upstream Status: net.git commit e93c9378e33f

commit e93c9378e33f68b61ea9318580d841caa22fb9ea
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Wed May 10 16:46:21 2023 +0200

    devlink: change per-devlink netdev notifier to static one

    The commit 565b4824c39f ("devlink: change port event netdev notifier
    from per-net to global") changed original per-net notifier to be
    per-devlink instance. That fixed the issue of non-receiving events
    of netdev uninit if that moved to a different namespace.
    That worked fine in -net tree.

    However, later on when commit ee75f1fc44dd ("net/mlx5e: Create
    separate devlink instance for ethernet auxiliary device") and
    commit 72ed5d5624af ("net/mlx5: Suspend auxiliary devices only in
    case of PCI device suspend") were merged, a deadlock was introduced
    when removing a namespace with devlink instance with another nested
    instance.

    Here there is the bad flow example resulting in deadlock with mlx5:
    net_cleanup_work -> cleanup_net (takes down_read(&pernet_ops_rwsem) ->
    devlink_pernet_pre_exit() -> devlink_reload() ->
    mlx5_devlink_reload_down() -> mlx5_unload_one_devl_locked() ->
    mlx5_detach_device() -> del_adev() -> mlx5e_remove() ->
    mlx5e_destroy_devlink() -> devlink_free() ->
    unregister_netdevice_notifier() (takes down_write(&pernet_ops_rwsem)

    Steps to reproduce:
    $ modprobe mlx5_core
    $ ip netns add ns1
    $ devlink dev reload pci/0000:08:00.0 netns ns1
    $ ip netns del ns1

    Resolve this by converting the notifier from per-devlink instance to
    a static one registered during init phase and leaving it registered
    forever. Use this notifier for all devlink port instances created
    later on.

    Note what a tree needs this fix only in case all of the cited fixes
    commits are present.

    Reported-by: Moshe Shemesh <moshe@nvidia.com>
    Fixes: 565b4824c39f ("devlink: change port event netdev notifier from per-net to global")
    Fixes: ee75f1fc44dd ("net/mlx5e: Create separate devlink instance for ethernet auxiliary device")
    Fixes: 72ed5d5624af ("net/mlx5: Suspend auxiliary devices only in case of PCI device suspend")
    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Simon Horman <simon.horman@corigine.com>
    Link: https://lore.kernel.org/r/20230510144621.932017-1-jiri@resnulli.us
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Davide Caratti <dcaratti@redhat.com>
2023-07-03 10:57:40 +02:00
Petr Oros 19c39eb2a0 devlink: Move health common function to health file
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit 12af29e7790af811611409194f61d054e54365b9
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:38:04 2023 +0200

    devlink: Move health common function to health file

    Now that all devlink health callbacks and related code are in file
    health.c move common health functions and devlink_health_reporter struct
    to be local in health.c file.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:28 +02:00
Petr Oros 2b38cd7b7e devlink: Move devlink health test to health file
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit c9311ee13f0ebd6d684793f88b91092672c21171
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:38:03 2023 +0200

    devlink: Move devlink health test to health file

    Move devlink health report test callback from leftover.c to health.c. No
    functional change in this patch.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:27 +02:00
Petr Oros 1d8b4b701e devlink: Move devlink health dump to health file
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit 7004c6c45761143836d3c8122d91264320d87e8e
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:38:02 2023 +0200

    devlink: Move devlink health dump to health file

    Move devlink health report dump callbacks and related code from
    leftover.c to health.c. No functional change in this patch.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:27 +02:00
Petr Oros fcd7bb2ac0 devlink: Move devlink fmsg and health diagnose to health file
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit a929df7fd9c6fbfb4ebbed7c9cf96657e9f622b6
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:38:01 2023 +0200

    devlink: Move devlink fmsg and health diagnose to health file

    Devlink fmsg (formatted message) is used by devlink health diagnose,
    dump and drivers which support these devlink health callbacks.
    Therefore, move devlink fmsg helpers and related code to file health.c.
    Move devlink health diagnose to file health.c. No functional change in
    this patch.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:27 +02:00
Petr Oros ebe00dea55 devlink: Move devlink health report and recover to health file
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit 55b9b249685214cc700113e6b677b78d2c0b97f9
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:38:00 2023 +0200

    devlink: Move devlink health report and recover to health file

    Move devlink health report helper and recover callback and related code
    from leftover.c to health.c. No functional change in this patch.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:27 +02:00
Petr Oros dce4f9b5a1 devlink: Move devlink health get and set code to health file
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit db6b5f3ec400479c0906be6884c9ecceaf0b8c46
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:37:59 2023 +0200

    devlink: Move devlink health get and set code to health file

    Move devlink health get and set callbacks and related code from
    leftover.c to health.c. No functional change in this patch.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:27 +02:00
Petr Oros ca9e65c2cc devlink: Split out health reporter create code
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit b4740e3a8137faa5831c690d0bf0b46f41008baf
Author: Moshe Shemesh <moshe@nvidia.com>
Date:   Tue Feb 14 18:37:57 2023 +0200

    devlink: Split out health reporter create code

    Move devlink health reporter create/destroy and related dev code to new
    file health.c. This file shall include all callbacks and functionality
    that are related to devlink health.

    In addition, fix kdoc indentation and make reporter create/destroy kdoc
    more clear. No functional change in this patch.

    Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
    Reviewed-by: Jiri Pirko <jiri@nvidia.com>
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:26 +02:00
Petr Oros 98edafcd32 devlink: convert param list to xarray
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172273

Upstream commit(s):
commit a72e17b4523223015d3b3fd79bac2b065d6d09a9
Author: Jiri Pirko <jiri@nvidia.com>
Date:   Fri Feb 10 11:01:29 2023 +0100

    devlink: convert param list to xarray

    Loose the linked list for params and use xarray instead.

    Note that this is required to be eventually possible to call
    devl_param_driverinit_value_get() without holding instance lock.

    Signed-off-by: Jiri Pirko <jiri@nvidia.com>
    Reviewed-by: Simon Horman <simon.horman@corigine.com>
    Acked-by: Jakub Kicinski <kuba@kernel.org>
    Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Petr Oros <poros@redhat.com>
2023-04-04 11:12:26 +02:00