[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241023131248.27192-1-przemyslaw.kitszel@intel.com>
Date: Wed, 23 Oct 2024 15:09:00 +0200
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: netdev@...r.kernel.org
Cc: Tony Nguyen <anthony.l.nguyen@...el.com>,
nex.sw.ncis.osdt.itp.upstreaming@...el.com,
Marcin Szycik <marcin.szycik@...ux.intel.com>,
Jiri Pirko <jiri@...nulli.us>,
davem@...emloft.net,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
linux-kernel@...r.kernel.org,
Przemek Kitszel <przemyslaw.kitszel@...el.com>
Subject: [PATCH net-next v2 0/7] devlink: minor cleanup
(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
--
2.46.0
Powered by blists - more mailing lists