[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230107094909.530239-1-jiri@resnulli.us>
Date: Sat, 7 Jan 2023 10:49:01 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com, michael.chan@...adcom.com,
yisen.zhuang@...wei.com, salil.mehta@...wei.com,
jesse.brandeburg@...el.com, anthony.l.nguyen@...el.com,
tariqt@...dia.com, saeedm@...dia.com, leon@...nel.org,
idosch@...dia.com, petrm@...dia.com, mailhol.vincent@...adoo.fr,
jacob.e.keller@...el.com, maximmi@...dia.com, gal@...dia.com
Subject: [patch net-next 0/8] devlink: features, linecard and reporters locking cleanup
From: Jiri Pirko <jiri@...dia.com>
This patchset does not change functionality.
In the first patch, no longer needed devlink features are removed.
Patches 2-5 remove linecards and reporters locks and reference counting,
converting them to be protected by devlink instance lock as the rest of
the objects.
Patches 6 and 7 convert linecards and reporters dumpit callbacks to
recently introduced devlink_nl_instance_iter_dump() infra.
The last patch adds assertion to devl_is_registered() as dependency on
other locks is removed.
Jiri Pirko (8):
devlink: remove devlink features
devlink: remove linecards lock
devlink: remove linecard reference counting
devlink: remove reporters_lock
devlink: remove reporter reference counting
devlink: convert linecards dump to devlink_nl_instance_iter_dump()
devlink: convert reporters dump to devlink_nl_instance_iter_dump()
devlink: add instance lock assertion in devl_is_registered()
.../net/ethernet/broadcom/bnxt/bnxt_devlink.c | 1 -
.../hisilicon/hns3/hns3pf/hclge_devlink.c | 1 -
.../hisilicon/hns3/hns3vf/hclgevf_devlink.c | 1 -
drivers/net/ethernet/intel/ice/ice_devlink.c | 1 -
drivers/net/ethernet/mellanox/mlx4/main.c | 1 -
.../net/ethernet/mellanox/mlx5/core/devlink.c | 9 +-
.../ethernet/mellanox/mlx5/core/en/health.c | 12 +
.../mellanox/mlx5/core/en/reporter_rx.c | 6 +-
.../mellanox/mlx5/core/en/reporter_tx.c | 6 +-
drivers/net/ethernet/mellanox/mlxsw/core.c | 9 +-
.../ethernet/mellanox/mlxsw/core_linecards.c | 8 +-
drivers/net/netdevsim/dev.c | 1 -
drivers/net/netdevsim/health.c | 20 +-
include/net/devlink.h | 26 +-
net/devlink/core.c | 23 -
net/devlink/devl_internal.h | 20 +-
net/devlink/leftover.c | 431 +++++++-----------
net/devlink/netlink.c | 12 +-
18 files changed, 218 insertions(+), 370 deletions(-)
--
2.39.0
Powered by blists - more mailing lists