mbox series

[v2,net-next,0/3] Add support for encoding multi-attr to ynl

Message ID cover.1706800192.git.alessandromarcolini99@gmail.com (mailing list archive)
Headers show
Series Add support for encoding multi-attr to ynl | expand

Message

Alessandro Marcolini Feb. 1, 2024, 3:12 p.m. UTC
This patchset add the support for encoding multi-attr attributes, making
it possible to use ynl with qdisc which have this kind of attributes
(e.g: taprio, ets).

Patch 1 corrects two docstrings in nlspec.py
Patch 2 adds the multi-attr attribute to taprio entry
Patch 3 adds the support for encoding multi-attr

v1 --> v2:
- Use SearchAttrs instead of ChainMap

Alessandro Marcolini (3):
  tools: ynl: correct typo and docstring
  doc: netlink: specs: tc: add multi-attr to tc-taprio-sched-entry
  tools: ynl: add support for encoding multi-attr

 Documentation/netlink/specs/tc.yaml |  1 +
 tools/net/ynl/lib/nlspec.py         |  7 +++----
 tools/net/ynl/lib/ynl.py            | 17 +++++++++++++----
 3 files changed, 17 insertions(+), 8 deletions(-)