Message ID | 20220716110241.3390528-1-jiri@resnulli.us (mailing list archive) |
---|---|
Headers | show |
Series | devlink: prepare mlxsw and netdevsim for locked reload | expand |
Hello: This series was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Sat, 16 Jul 2022 13:02:32 +0200 you wrote: > From: Jiri Pirko <jiri@nvidia.com> > > This is preparation patchset to be able to eventually make a switch and > make reload cmd to take devlink->lock as the other commands do. > > This patchset is preparing 2 major users of devlink API - mlxsw and > netdevsim. The sets of functions are similar, therefore taking care of > both here. > > [...] Here is the summary with links: - [net-next,1/9] net: devlink: avoid false DEADLOCK warning reported by lockdep https://git.kernel.org/netdev/net-next/c/e26fde2f5bef - [net-next,2/9] net: devlink: add unlocked variants of devling_trap*() functions https://git.kernel.org/netdev/net-next/c/852e85a704c2 - [net-next,3/9] net: devlink: add unlocked variants of devlink_resource*() functions https://git.kernel.org/netdev/net-next/c/c223d6a4bf6d - [net-next,4/9] net: devlink: add unlocked variants of devlink_sb*() functions https://git.kernel.org/netdev/net-next/c/755cfa69c4ec - [net-next,5/9] net: devlink: add unlocked variants of devlink_dpipe*() functions https://git.kernel.org/netdev/net-next/c/70a2ff89369d - [net-next,6/9] mlxsw: convert driver to use unlocked devlink API during init/fini https://git.kernel.org/netdev/net-next/c/72a4c8c94efa - [net-next,7/9] net: devlink: add unlocked variants of devlink_region_create/destroy() functions https://git.kernel.org/netdev/net-next/c/eb0e9fa2c635 - [net-next,8/9] netdevsim: convert driver to use unlocked devlink API during init/fini https://git.kernel.org/netdev/net-next/c/012ec02ae441 - [net-next,9/9] net: devlink: remove unused locked functions https://git.kernel.org/netdev/net-next/c/f655dacb59ac You are awesome, thank you!
From: Jiri Pirko <jiri@nvidia.com> This is preparation patchset to be able to eventually make a switch and make reload cmd to take devlink->lock as the other commands do. This patchset is preparing 2 major users of devlink API - mlxsw and netdevsim. The sets of functions are similar, therefore taking care of both here. Jiri Pirko (8): net: devlink: add unlocked variants of devling_trap*() functions net: devlink: add unlocked variants of devlink_resource*() functions net: devlink: add unlocked variants of devlink_sb*() functions net: devlink: add unlocked variants of devlink_dpipe*() functions mlxsw: convert driver to use unlocked devlink API during init/fini net: devlink: add unlocked variants of devlink_region_create/destroy() functions netdevsim: convert driver to use unlocked devlink API during init/fini net: devlink: remove unused locked functions Moshe Shemesh (1): net: devlink: avoid false DEADLOCK warning reported by lockdep drivers/net/ethernet/mellanox/mlxsw/core.c | 53 +- .../net/ethernet/mellanox/mlxsw/spectrum.c | 103 ++- .../ethernet/mellanox/mlxsw/spectrum1_kvdl.c | 82 +-- .../mellanox/mlxsw/spectrum_buffers.c | 14 +- .../ethernet/mellanox/mlxsw/spectrum_cnt.c | 62 +- .../ethernet/mellanox/mlxsw/spectrum_dpipe.c | 88 +-- .../mellanox/mlxsw/spectrum_policer.c | 32 +- .../ethernet/mellanox/mlxsw/spectrum_router.c | 22 +- .../ethernet/mellanox/mlxsw/spectrum_span.c | 6 +- .../ethernet/mellanox/mlxsw/spectrum_trap.c | 27 +- drivers/net/netdevsim/bus.c | 19 - drivers/net/netdevsim/dev.c | 134 ++-- drivers/net/netdevsim/fib.c | 62 +- drivers/net/netdevsim/netdevsim.h | 3 - include/net/devlink.h | 76 ++- net/core/devlink.c | 637 ++++++++++++------ 16 files changed, 816 insertions(+), 604 deletions(-)