netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC net-next v2 0/2] devlink: whole-device, resource .occ_set()
@ 2025-02-19 16:32 Przemek Kitszel
  2025-02-19 16:32 ` [RFC net-next v2 1/2] devlink: add whole device devlink instance Przemek Kitszel
  2025-02-19 16:32 ` [RFC net-next v2 2/2] devlink: give user option to allocate resources Przemek Kitszel
  0 siblings, 2 replies; 19+ messages in thread
From: Przemek Kitszel @ 2025-02-19 16:32 UTC (permalink / raw)
  To: intel-wired-lan, Tony Nguyen, Jiri Pirko, Jakub Kicinski,
	Cosmin Ratiu, Tariq Toukan
  Cc: netdev, Konrad Knitter, Jacob Keller, davem, Eric Dumazet,
	Paolo Abeni, Andrew Lunn, linux-kernel, ITP Upstream,
	Carolina Jubran, Przemek Kitszel


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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-03-18 15:43 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-19 16:32 [RFC net-next v2 0/2] devlink: whole-device, resource .occ_set() Przemek Kitszel
2025-02-19 16:32 ` [RFC net-next v2 1/2] devlink: add whole device devlink instance Przemek Kitszel
2025-02-19 22:11   ` Jacob Keller
2025-02-21  1:45   ` Jakub Kicinski
2025-02-21 22:50     ` Jacob Keller
2025-02-24 10:15       ` Przemek Kitszel
2025-02-24 13:03     ` Jiri Pirko
2025-02-24 22:09       ` Jacob Keller
2025-02-24 16:14   ` Jiri Pirko
2025-02-24 22:12     ` Jacob Keller
2025-02-25 11:30     ` Przemek Kitszel
2025-02-25 14:35       ` Jiri Pirko
2025-02-25 15:40         ` Przemek Kitszel
2025-02-25 18:16           ` Jacob Keller
2025-02-26 14:48           ` Jiri Pirko
2025-02-26 15:06             ` Przemek Kitszel
2025-02-26 15:25               ` Jiri Pirko
2025-03-18 15:42   ` Jiri Pirko
2025-02-19 16:32 ` [RFC net-next v2 2/2] devlink: give user option to allocate resources Przemek Kitszel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).