Thread (16 messages) 16 messages, 4 authors, 2024-11-19

Re: [PATCH net-next V3 3/8] devlink: Extend devlink rate API with traffic classes bandwidth management

flat view

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-11-19 14:33:15

On Tue, 19 Nov 2024 10:31:03 +0100 Jiri Pirko wrote:
quoted
It seems that type: indexed-array with sub-type: u32 would be the correct
approach. However, I noticed that this support appears to be missing in the
ynl-gen-c.py script in this series:
https://lore.kernel.org/all/20240404063114.1221532-3-liuhangbin@gmail.com/ (local).
If this is indeed the case, how should I specify the min and max values for
the u32 entries in the indexed-array?  
Not sure. Perhaps Jakub/Donald would know. Ccing.
I haven't read full context, but all "nested" arrays are discouraged.
Use:
	multi-attr: true
and repeat the entries without wrapping them into another attr.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help