[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250517001318.285800-1-kuba@kernel.org>
Date: Fri, 16 May 2025 17:13:07 -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,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 00/11] 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.
Jakub Kicinski (11):
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 | 2 +
tools/net/ynl/generated/Makefile | 2 +-
tools/net/ynl/lib/ynl-priv.h | 8 +-
tools/net/ynl/samples/tc.c | 80 +++++
tools/net/ynl/pyynl/ynl_gen_c.py | 171 +++++++--
tools/net/ynl/samples/.gitignore | 1 +
7 files changed, 493 insertions(+), 285 deletions(-)
create mode 100644 tools/net/ynl/samples/tc.c
--
2.49.0
Powered by blists - more mailing lists