mbox series

[net-next,v2,0/7] devlink: minor cleanup

Message ID 20241023131248.27192-1-przemyslaw.kitszel@intel.com (mailing list archive)
Headers show
Series devlink: minor cleanup | expand

Message

Przemek Kitszel Oct. 23, 2024, 1:09 p.m. UTC
(Patch 1, 2) Add one helper shortcut to put u64 values into skb.
(Patch 3, 4) Minor cleanup for error codes.
(Patch 5, 6, 7) Remove some devlink_resource_*() usage and functions
		itself via replacing devlink_* variants by devl_* ones.

v2: fix metadata (cc list, target tree) - Jiri; rebase; tags collected

v1:
https://lore.kernel.org/netdev/20241018102009.10124-1-przemyslaw.kitszel@intel.com/

Przemek Kitszel (7):
  devlink: introduce devlink_nl_put_u64()
  devlink: use devlink_nl_put_u64() helper
  devlink: devl_resource_register(): differentiate error codes
  devlink: region: snapshot IDs: consolidate error values
  net: dsa: replace devlink resource registration calls by devl_
    variants
  devlink: remove unused devlink_resource_occ_get_register() and
    _unregister()
  devlink: remove unused devlink_resource_register()

 include/net/devlink.h       |  13 -----
 net/devlink/devl_internal.h |   5 ++
 net/devlink/dev.c           |  12 ++---
 net/devlink/dpipe.c         |  18 +++----
 net/devlink/health.c        |  25 ++++-----
 net/devlink/rate.c          |   8 +--
 net/devlink/region.c        |  15 +++---
 net/devlink/resource.c      | 101 +++++-------------------------------
 net/devlink/trap.c          |  34 +++++-------
 net/dsa/devlink.c           |  23 +++++---
 10 files changed, 83 insertions(+), 171 deletions(-)


base-commit: d811ac148f0afd2f3f7e1cd7f54de8da973ec5e3

Comments

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

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

On Wed, 23 Oct 2024 15:09:00 +0200 you wrote:
> (Patch 1, 2) Add one helper shortcut to put u64 values into skb.
> (Patch 3, 4) Minor cleanup for error codes.
> (Patch 5, 6, 7) Remove some devlink_resource_*() usage and functions
> 		itself via replacing devlink_* variants by devl_* ones.
> 
> v2: fix metadata (cc list, target tree) - Jiri; rebase; tags collected
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/7] devlink: introduce devlink_nl_put_u64()
    https://git.kernel.org/netdev/net-next/c/da3ee3cd79ca
  - [net-next,v2,2/7] devlink: use devlink_nl_put_u64() helper
    https://git.kernel.org/netdev/net-next/c/a788acf154eb
  - [net-next,v2,3/7] devlink: devl_resource_register(): differentiate error codes
    https://git.kernel.org/netdev/net-next/c/e0b140c44f32
  - [net-next,v2,4/7] devlink: region: snapshot IDs: consolidate error values
    https://git.kernel.org/netdev/net-next/c/72429e9e0cfb
  - [net-next,v2,5/7] net: dsa: replace devlink resource registration calls by devl_ variants
    https://git.kernel.org/netdev/net-next/c/d5020cb41e3c
  - [net-next,v2,6/7] devlink: remove unused devlink_resource_occ_get_register() and _unregister()
    https://git.kernel.org/netdev/net-next/c/2a0df10434dd
  - [net-next,v2,7/7] devlink: remove unused devlink_resource_register()
    https://git.kernel.org/netdev/net-next/c/e3302f9a503a

You are awesome, thank you!