[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251106151529.453026-1-zahari.doychev@linux.com>
Date: Thu, 6 Nov 2025 16:15:26 +0100
From: Zahari Doychev <zahari.doychev@...ux.com>
To: donald.hunter@...il.com,
kuba@...nel.org
Cc: davem@...emloft.net,
edumazet@...gle.com,
pabeni@...hat.com,
horms@...nel.org,
jacob.e.keller@...el.com,
ast@...erby.net,
matttbe@...nel.org,
netdev@...r.kernel.org,
jhs@...atatu.com,
xiyou.wangcong@...il.com,
jiri@...nulli.us,
johannes@...solutions.net,
zahari.doychev@...ux.com
Subject: [PATCH v2 0/3] ynl: Fix tc filters with actions
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
Powered by blists - more mailing lists