[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250219164410.35665-1-przemyslaw.kitszel@intel.com>
Date: Wed, 19 Feb 2025 17:32:53 +0100
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: intel-wired-lan@...ts.osuosl.org,
Tony Nguyen <anthony.l.nguyen@...el.com>,
Jiri Pirko <jiri@...nulli.us>,
Jakub Kicinski <kuba@...nel.org>,
Cosmin Ratiu <cratiu@...dia.com>,
Tariq Toukan <tariqt@...dia.com>
Cc: netdev@...r.kernel.org,
Konrad Knitter <konrad.knitter@...el.com>,
Jacob Keller <jacob.e.keller@...el.com>,
davem@...emloft.net,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew@...n.ch>,
linux-kernel@...r.kernel.org,
ITP Upstream <nxne.cnse.osdt.itp.upstreaming@...el.com>,
Carolina Jubran <cjubran@...dia.com>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>
Subject: [RFC net-next v2 0/2] devlink: whole-device, resource .occ_set()
I'm working on ice+iavf changes that utilize the two devlink patches
of this RFC series. The two are related in that I will group them anyway
for my actual submission.
Patch 1: add an option for drivers like ice (devlink instance per PF)
to add a whole-device devlink instance, that wraps them together.
Patch 2: add resource occupation setter and a (better) mode of resource
control for users
Przemek Kitszel (2):
devlink: add whole device devlink instance
devlink: give user option to allocate resources
net/devlink/devl_internal.h | 14 +++---
net/devlink/core.c | 58 ++++++++++++++++++-----
net/devlink/netlink.c | 4 +-
net/devlink/port.c | 4 +-
net/devlink/resource.c | 94 +++++++++++++++++++++++++++++--------
5 files changed, 132 insertions(+), 42 deletions(-)
--
2.46.0
Powered by blists - more mailing lists