tools: ynl-gen: add support for "inherited" selector and therefore TC
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 5 repliesIn review 10 of 12 applied
- v111 patches 13 repliesSuperseded
Changes in v2 from the cover letter
- [patch 1] new
- [patch 8] small refactor
- [patch 10] add more includes to build on Ubuntu 22.04 system headers
Patches in v2 10 of 12 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | tools: ynl-gen: add makefile deps for neighinclude/ tools/ | +4 | 1 reply | |
| 2/12 | netlink: specs: tc: remove duplicate nestsDocumentation/ | +4 | 0 replies | Applied |
| 3/12 | netlink: specs: tc: use tc-gact instead of tc-gen as struct nameDocumentation/ | +3 | 0 replies | Applied |
| 4/12 | netlink: specs: tc: add C naming infoDocumentation/ | +95 | 0 replies | Applied |
| 5/12 | netlink: specs: tc: drop the family name prefix from attrsDocumentation/ | +167 | 0 replies | Applied |
| 6/12 | tools: ynl-gen: support passing selector to a nesttools/ | +60 | 0 replies | Applied |
| 7/12 | tools: ynl-gen: move fixed header info from RenderInfo to Structtools/ | +27 | 0 replies | Applied |
| 8/12 | tools: ynl-gen: support local attrs in _multi_parsetools/ | +8 | 0 replies | Applied |
| 9/12 | tools: ynl-gen: support weird sub-message formatstools/ tools/ | +43 | 0 replies | Applied |
| 10/12 | tools: ynl: enable codegen for TCtools/ tools/ | +8 | 4 replies | Applied |
| 11/12 | netlink: specs: tc: add qdisc dump to TC specDocumentation/ | +2 | 0 replies | Applied |
| 12/12 | tools: ynl: add a sample for TCtools/ tools/ | +81 | 0 replies |
Reviews trailers per patch
11 of 12 patches have a Reviewed-by or Acked-by.
| Patch | Donald Hunter | Kory Maincent |
|---|---|---|
| 1/12 | T-b | |
| 2/12 | R-b | |
| 3/12 | R-b | |
| 4/12 | R-b | |
| 5/12 | R-b | |
| 6/12 | R-b | |
| 7/12 | R-b | |
| 8/12 | R-b | |
| 9/12 | R-b | |
| 10/12 | R-b | |
| 11/12 | R-b | |
| 12/12 | R-b |
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/12] tools: ynl-gen: add support for "inherited" selector and therefore TC
Add C codegen support for constructs needed by TC, namely passing sub-message selector from a lower nest, and sub-messages with fixed headers.
v2:
- [patch 1] new
- [patch 8] small refactor
- [patch 10] add more includes to build on Ubuntu 22.04 system headers
Jakub Kicinski (12):
tools: ynl-gen: add makefile deps for neigh
netlink: specs: tc: remove duplicate nests
netlink: specs: tc: use tc-gact instead of tc-gen as struct name
netlink: specs: tc: add C naming info
netlink: specs: tc: drop the family name prefix from attrs
tools: ynl-gen: support passing selector to a nest
tools: ynl-gen: move fixed header info from RenderInfo to Struct
tools: ynl-gen: support local attrs in _multi_parse
tools: ynl-gen: support weird sub-message formats
tools: ynl: enable codegen for TC
netlink: specs: tc: add qdisc dump to TC spec
tools: ynl: add a sample for TC
Documentation/netlink/specs/tc.yaml | 514 +++++++++++++++------------- tools/net/ynl/Makefile.deps | 10 +- tools/net/ynl/generated/Makefile | 2 +- include/uapi/linux/neighbour.h | 4 +- tools/net/ynl/lib/ynl-priv.h | 8 +- tools/net/ynl/samples/tc.c | 80 +++++ tools/net/ynl/pyynl/ynl_gen_c.py | 168 +++++++-- tools/net/ynl/samples/.gitignore | 1 + 8 files changed, 500 insertions(+), 287 deletions(-) create mode 100644 tools/net/ynl/samples/tc.c
Signature · 1 line
2.49.0