netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 00/12] tools: ynl-gen: add support for "inherited" selector and therefore TC
@ 2025-05-20 16:19 Jakub Kicinski
  2025-05-20 16:19 ` [PATCH net-next v2 01/12] tools: ynl-gen: add makefile deps for neigh Jakub Kicinski
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Jakub Kicinski @ 2025-05-20 16:19 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, andrew+netdev, horms, donald.hunter,
	jacob.e.keller, sdf, jstancek, kory.maincent, Jakub Kicinski

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-05-21 22:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-20 16:19 [PATCH net-next v2 00/12] tools: ynl-gen: add support for "inherited" selector and therefore TC Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 01/12] tools: ynl-gen: add makefile deps for neigh Jakub Kicinski
2025-05-20 17:15   ` Kory Maincent
2025-05-20 16:19 ` [PATCH net-next v2 02/12] netlink: specs: tc: remove duplicate nests Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 03/12] netlink: specs: tc: use tc-gact instead of tc-gen as struct name Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 04/12] netlink: specs: tc: add C naming info Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 05/12] netlink: specs: tc: drop the family name prefix from attrs Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 06/12] tools: ynl-gen: support passing selector to a nest Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 07/12] tools: ynl-gen: move fixed header info from RenderInfo to Struct Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 08/12] tools: ynl-gen: support local attrs in _multi_parse Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 09/12] tools: ynl-gen: support weird sub-message formats Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 10/12] tools: ynl: enable codegen for TC Jakub Kicinski
2025-05-20 16:34   ` Kory Maincent
2025-05-20 16:50     ` Jakub Kicinski
2025-05-20 17:36       ` Kory Maincent
2025-05-21 20:31         ` Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 11/12] netlink: specs: tc: add qdisc dump to TC spec Jakub Kicinski
2025-05-20 16:19 ` [PATCH net-next v2 12/12] tools: ynl: add a sample for TC Jakub Kicinski
2025-05-21 22:50 ` [PATCH net-next v2 00/12] tools: ynl-gen: add support for "inherited" selector and therefore TC patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).