mbox series

[net-next,v1,0/3] Remove duplicated devlink registration check

Message ID cover.1627456849.git.leonro@nvidia.com (mailing list archive)
Headers show
Series Remove duplicated devlink registration check | expand

Message

Leon Romanovsky July 28, 2021, 7:33 a.m. UTC
From: Leon Romanovsky <leonro@nvidia.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(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 28, 2021, 9:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 28 Jul 2021 10:33:44 +0300 you wrote:
> From: Leon Romanovsky <leonro@nvidia.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
> 
> [...]

Here is the summary with links:
  - [net-next,v1,1/3] net: ti: am65-cpsw-nuss: fix wrong devlink release order
    https://git.kernel.org/netdev/net-next/c/acf34954efd1
  - [net-next,v1,2/3] net/mlx5: Don't rely on always true registered field
    https://git.kernel.org/netdev/net-next/c/35f6986743d7
  - [net-next,v1,3/3] devlink: Remove duplicated registration check
    https://git.kernel.org/netdev/net-next/c/d7907a2b1a3b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html