mbox series

[net-next,v4,0/6] devlink reload simplification

Message ID cover.1634044267.git.leonro@nvidia.com (mailing list archive)
Headers show
Series devlink reload simplification | expand

Message

Leon Romanovsky Oct. 12, 2021, 1:15 p.m. UTC
From: Leon Romanovsky <leonro@nvidia.com>

Changelog:
v4:
 * Removed legacy BUG_ON() in first patch.
 * Added new patch that moves netdev_to_devlink functions to devlink.c.
 * Rewrote devlink ops patch to use feature mask.
v3: https://lore.kernel.org/all/cover.1633589385.git.leonro@nvidia.com
 * Rewrote third patch to keep static const nature of ops. This is done
   by extracting reload ops to separate ops structure.
 * Changed commit message in last patch as was suggested by Ido.
v2: https://lore.kernel.org/all/cover.1633284302.git.leonro@nvidia.com
 * Dropped const removal patch
 * Added new patch to hide struct devlink
 * Added new patch to annotate devlink API
 * Implemented copy of all callback in devlink ops
v1: https://lore.kernel.org/all/cover.1632916329.git.leonro@nvidia.com
 * Missed removal of extra WARN_ON
 * Added "ops parameter to macro as Dan suggested.
v0: https://lore.kernel.org/all/cover.1632909221.git.leonro@nvidia.com

-------------------------------------------------------------------
Hi,

Simplify devlink reload APIs.

Thanks

Leon Romanovsky (6):
  devlink: Reduce struct devlink exposure
  devlink: Move netdev_to_devlink helpers to devlink.c
  devlink: Annotate devlink API calls
  devlink: Allow control devlink ops behavior through feature mask
  net/mlx5: Set devlink reload feature bit for supported devices only
  devlink: Delete reload enable/disable interface

 .../hisilicon/hns3/hns3pf/hclge_devlink.c     |   4 +-
 .../hisilicon/hns3/hns3vf/hclgevf_devlink.c   |   4 +-
 drivers/net/ethernet/mellanox/mlx4/main.c     |   3 +-
 .../net/ethernet/mellanox/mlx5/core/devlink.c |   4 +
 .../net/ethernet/mellanox/mlx5/core/main.c    |   3 -
 .../mellanox/mlx5/core/sf/dev/driver.c        |   5 +-
 drivers/net/ethernet/mellanox/mlxfw/mlxfw.h   |   2 +-
 drivers/net/ethernet/mellanox/mlxsw/core.c    |   8 +-
 drivers/net/netdevsim/dev.c                   |   4 +-
 include/net/devlink.h                         |  79 ++-------
 include/trace/events/devlink.h                |  72 ++++----
 net/core/devlink.c                            | 164 +++++++++++++-----
 12 files changed, 181 insertions(+), 171 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 13, 2021, 12:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 12 Oct 2021 16:15:20 +0300 you wrote:
> From: Leon Romanovsky <leonro@nvidia.com>
> 
> Changelog:
> v4:
>  * Removed legacy BUG_ON() in first patch.
>  * Added new patch that moves netdev_to_devlink functions to devlink.c.
>  * Rewrote devlink ops patch to use feature mask.
> v3: https://lore.kernel.org/all/cover.1633589385.git.leonro@nvidia.com
>  * Rewrote third patch to keep static const nature of ops. This is done
>    by extracting reload ops to separate ops structure.
>  * Changed commit message in last patch as was suggested by Ido.
> v2: https://lore.kernel.org/all/cover.1633284302.git.leonro@nvidia.com
>  * Dropped const removal patch
>  * Added new patch to hide struct devlink
>  * Added new patch to annotate devlink API
>  * Implemented copy of all callback in devlink ops
> v1: https://lore.kernel.org/all/cover.1632916329.git.leonro@nvidia.com
>  * Missed removal of extra WARN_ON
>  * Added "ops parameter to macro as Dan suggested.
> v0: https://lore.kernel.org/all/cover.1632909221.git.leonro@nvidia.com
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/6] devlink: Reduce struct devlink exposure
    https://git.kernel.org/netdev/net-next/c/21314638c9f2
  - [net-next,v4,2/6] devlink: Move netdev_to_devlink helpers to devlink.c
    https://git.kernel.org/netdev/net-next/c/2bc50987dc1f
  - [net-next,v4,3/6] devlink: Annotate devlink API calls
    https://git.kernel.org/netdev/net-next/c/b88f7b1203bf
  - [net-next,v4,4/6] devlink: Allow control devlink ops behavior through feature mask
    https://git.kernel.org/netdev/net-next/c/bd032e35c568
  - [net-next,v4,5/6] net/mlx5: Set devlink reload feature bit for supported devices only
    https://git.kernel.org/netdev/net-next/c/96869f193cfd
  - [net-next,v4,6/6] devlink: Delete reload enable/disable interface
    https://git.kernel.org/netdev/net-next/c/82465bec3e97

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