[RFC net-next v2 0/2] devlink: whole-device, resource .occ_set()

From
Przemek Kitszel <przemyslaw.kitszel@intel.com>
Date
2025-02-19 17:46:12
Also in
intel-wired-lan, lkml
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
Thread (19 messages) 19 messages, 4 authors, last reply 2025-03-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help