Netdev List
 help / color / mirror / Atom feed
* [patch net-next 0/9] devlink: prepare mlxsw and netdevsim for locked reload
@ 2022-07-16 11:02 Jiri Pirko
  2022-07-16 11:02 ` [patch net-next 1/9] net: devlink: avoid false DEADLOCK warning reported by lockdep Jiri Pirko
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Jiri Pirko @ 2022-07-16 11:02 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, pabeni, edumazet, mlxsw, idosch, saeedm, moshe,
	tariqt

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(-)

-- 
2.35.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-07-19  3:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-16 11:02 [patch net-next 0/9] devlink: prepare mlxsw and netdevsim for locked reload Jiri Pirko
2022-07-16 11:02 ` [patch net-next 1/9] net: devlink: avoid false DEADLOCK warning reported by lockdep Jiri Pirko
2022-07-16 11:02 ` [patch net-next 2/9] net: devlink: add unlocked variants of devling_trap*() functions Jiri Pirko
2022-07-16 11:02 ` [patch net-next 3/9] net: devlink: add unlocked variants of devlink_resource*() functions Jiri Pirko
2022-07-16 11:02 ` [patch net-next 4/9] net: devlink: add unlocked variants of devlink_sb*() functions Jiri Pirko
2022-07-16 11:02 ` [patch net-next 5/9] net: devlink: add unlocked variants of devlink_dpipe*() functions Jiri Pirko
2022-07-16 11:02 ` [patch net-next 6/9] mlxsw: convert driver to use unlocked devlink API during init/fini Jiri Pirko
2022-07-17  7:36   ` Ido Schimmel
2022-07-16 11:02 ` [patch net-next 7/9] net: devlink: add unlocked variants of devlink_region_create/destroy() functions Jiri Pirko
2022-07-16 11:02 ` [patch net-next 8/9] netdevsim: convert driver to use unlocked devlink API during init/fini Jiri Pirko
2022-07-16 11:02 ` [patch net-next 9/9] net: devlink: remove unused locked functions Jiri Pirko
2022-07-19  3:40 ` [patch net-next 0/9] devlink: prepare mlxsw and netdevsim for locked reload patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox