netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ynl: Fix tc filters with actions
@ 2025-11-06 15:15 Zahari Doychev
  2025-11-06 15:15 ` [PATCH v2 1/3] ynl: samples: add tc filter example Zahari Doychev
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Zahari Doychev @ 2025-11-06 15:15 UTC (permalink / raw)
  To: donald.hunter, kuba
  Cc: davem, edumazet, pabeni, horms, jacob.e.keller, ast, matttbe,
	netdev, jhs, xiyou.wangcong, jiri, johannes, zahari.doychev

The first patch in this series introduces an example tool that
creates, shows and deletes flower filter with two VLAN actions.
The subsequent patches address various issues to ensure the tool
operates as intended.

---
v2:
- extend the sampe tool to show and delete the filter
- drop fix for ynl_attr_put_str as already fixed by:
  Link: https://lore.kernel.org/netdev/20251024132438.351290-1-poros@redhat.com/
- make indexed-arrays to start from index 1.
  Link: https://lore.kernel.org/netdev/20251022182701.250897-1-ast@fiberby.net/

v1: https://lore.kernel.org/netdev/20251018151737.365485-1-zahari.doychev@linux.com/

Zahari Doychev (3):
  ynl: samples: add tc filter example
  tools: ynl: call nested attribute free function for indexed arrays
  tools: ynl: ignore index 0 for indexed-arrays

 Documentation/netlink/specs/tc.yaml   |   8 +
 tools/net/ynl/Makefile.deps           |   1 +
 tools/net/ynl/pyynl/ynl_gen_c.py      |  14 +-
 tools/net/ynl/samples/.gitignore      |   1 +
 tools/net/ynl/samples/tc-filter-add.c | 308 ++++++++++++++++++++++++++
 5 files changed, 331 insertions(+), 1 deletion(-)
 create mode 100644 tools/net/ynl/samples/tc-filter-add.c

-- 
2.51.0

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

end of thread, other threads:[~2025-11-11 23:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06 15:15 [PATCH v2 0/3] ynl: Fix tc filters with actions Zahari Doychev
2025-11-06 15:15 ` [PATCH v2 1/3] ynl: samples: add tc filter example Zahari Doychev
2025-11-11  1:17   ` Jakub Kicinski
2025-11-11 19:09     ` Zahari Doychev
2025-11-11 23:54       ` Jakub Kicinski
2025-11-06 15:15 ` [PATCH v2 2/3] tools: ynl: call nested attribute free function for indexed arrays Zahari Doychev
2025-11-06 15:15 ` [PATCH v2 3/3] tools: ynl: ignore index 0 for indexed-arrays Zahari Doychev
2025-11-11  1:20   ` Jakub Kicinski
2025-11-11 19:34     ` Zahari Doychev
2025-11-11 23:49       ` Jakub Kicinski
2025-11-11  1:30 ` [PATCH v2 0/3] ynl: Fix tc filters with actions 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).