[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1627456849.git.leonro@nvidia.com>
Date: Wed, 28 Jul 2021 10:33:44 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Jakub Kicinski <kuba@...nel.org>, Jiri Pirko <jiri@...dia.com>,
"David S. Miller" <davem@...emloft.net>
Cc: Leon Romanovsky <leonro@...dia.com>, netdev@...r.kernel.org,
Saeed Mahameed <saeedm@...dia.com>,
Vignesh Raghavendra <vigneshr@...com>
Subject: [PATCH net-next v1 0/3] Remove duplicated devlink registration check
From: Leon Romanovsky <leonro@...dia.com>
Changelog:
v1:
* Added two new patches that remove registration field from mlx5 and ti drivers.
v0: https://lore.kernel.org/lkml/ed7bbb1e4c51dd58e6035a058e93d16f883b09ce.1627215829.git.leonro@nvidia.com
--------------------------------------------------------------------
Both registered flag and devlink pointer are set at the same time
and indicate the same thing - devlink/devlink_port are ready. Instead
of checking ->registered use devlink pointer as an indication.
Thanks
Leon Romanovsky (3):
net: ti: am65-cpsw-nuss: fix wrong devlink release order
net/mlx5: Don't rely on always true registered field
devlink: Remove duplicated registration check
.../ethernet/mellanox/mlx5/core/en/devlink.c | 10 ++----
.../net/ethernet/mellanox/mlx5/core/en_main.c | 11 ++----
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 34 +++++++++----------
include/net/devlink.h | 4 +--
net/core/devlink.c | 19 ++++++-----
5 files changed, 33 insertions(+), 45 deletions(-)
--
2.31.1
Powered by blists - more mailing lists