Subject: Re: [PATCH v4 net-next 00/12] net: introduce TX H/W shaping API

From: Jakub Kicinski <[email-masked]>
Date: Thu, 22 Aug 2024 17:43:19 -0700

On Tue, 20 Aug 2024 17:12:21 +0200 Paolo Abeni wrote:
> * Delegation
> 
> A containers wants to limit the aggregate B/W bandwidth of 2 of the 3
> queues it owns - the starting configuration is the one from the
> previous point:
> 
> SPEC=Documentation/netlink/specs/net_shaper.yaml
> ./tools/net/ynl/cli.py --spec $SPEC \
> 	--do group --json '{"ifindex":'$IFINDEX', 
> 			"leaves": [ 
> 			  {"handle": {"scope": "queue", "id":'$QID1' },
> 			   "weight": '$W1'}, 
> 			  {"handle": {"scope": "queue", "id":'$QID2' },
> 			   "weight": '$W2'}], 
> 			"root": { "handle": {"scope": "node"},
> 				  "parent": {"scope": "node", "id": 0},

In the delegation use case I was hoping "parent" would be automatic.