tools/net/ynl: Add features for tc family
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 2 repliesApplied 13/13
- v112 patches 18 repliesSuperseded
Changes in v2 from the cover letter
- Use spec-led sub-message selector resolution instead of ChainMap
- Add docs for sub-message selector resolution
- Remove unused variable declaration in ynl-gen-rst
Patches in v2 All 13 applied
Reviews trailers per patch
3 of 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Breno Leitao | Jiri Pirko |
|---|---|---|
| Series | R-b | |
| 1/13 | R-b | |
| 2/13 | ||
| 3/13 | ||
| 4/13 | R-b | |
| 5/13 | ||
| 6/13 | ||
| 7/13 | ||
| 8/13 | ||
| 9/13 | R-b | |
| 10/13 | ||
| 11/13 | ||
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 00/13] tools/net/ynl: Add features for tc family
Add features to ynl for tc and update the tc spec to use them.
Patch 1 adds an option to output json instead of python pretty printing. Patch 2, 3 adds support and docs for sub-messages in nested attribute spaces that reference keys from a parent space.
Patches 4 and 7-9 refactor ynl in support of nested struct definitions Patch 5 implements sub-message encoding for write ops.
Patch 6 adds logic to set default zero values for binary blobs Patches 10, 11 adds support and docs for nested struct definitions Patch 12 updates the ynl doc generator to include type information for struct members.
Patch 13 updates the tc spec - still a work in progress but more complete
v1 -> v2
- Use spec-led sub-message selector resolution instead of ChainMap
- Add docs for sub-message selector resolution
- Remove unused variable declaration in ynl-gen-rst
Donald Hunter (13):
tools/net/ynl: Add --output-json arg to ynl cli tools/net/ynl: Support sub-messages in nested attribute spaces doc/netlink: Describe sub-message selector resolution tools/net/ynl: Refactor fixed header encoding into separate method tools/net/ynl: Add support for encoding sub-messages tools/net/ynl: Encode default values for binary blobs tools/net/ynl: Combine struct decoding logic in ynl tools/net/ynl: Rename _fixed_header_size() to _struct_size() tools/net/ynl: Move formatted_string method out of NlAttr tools/net/ynl: Add support for nested structs doc/netlink: Describe nested structs in netlink raw docs tools/net/ynl: Add type info to struct members in generated docs doc/netlink/specs: Update the tc spec
Documentation/netlink/netlink-raw.yaml | 15 +- Documentation/netlink/specs/tc.yaml | 2218 +++++++++++++++-- .../userspace-api/netlink/netlink-raw.rst | 42 + tools/net/ynl/cli.py | 22 +- tools/net/ynl/lib/nlspec.py | 2 + tools/net/ynl/lib/ynl.py | 200 +- tools/net/ynl/ynl-gen-rst.py | 9 +- 7 files changed, 2271 insertions(+), 237 deletions(-)
Signature · 1 line
2.42.0