[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250520161916.413298-1-kuba@kernel.org>
Date: Tue, 20 May 2025 09:19:04 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
andrew+netdev@...n.ch,
horms@...nel.org,
donald.hunter@...il.com,
jacob.e.keller@...el.com,
sdf@...ichev.me,
jstancek@...hat.com,
kory.maincent@...tlin.com,
Jakub Kicinski <kuba@...nel.org>
Subject: [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
--
2.49.0
Powered by blists - more mailing lists