Thread (34 messages) 34 messages, 5 authors, 2024-08-27

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

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-08-23 00:43:20

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help