[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251117105708.133020-1-zahari.doychev@linux.com>
Date: Mon, 17 Nov 2025 11:57:07 +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 v3 0/1] add tc filter example
The patch in this series introduces an example tool that
creates, shows and deletes flower filter with two VLAN actions.
The example inserts a dummy action at index 0 to work around the
tc actions array oddity.
---
v3:
- Dropped the patch that ignored index zero for indexed arrays.
- Extended the example to work around tc action array indexing oddity.
- Move to the example CFLAGS to samples/Makefile.
- Enhanced attribute dumping.
v2: https://lore.kernel.org/netdev/20251106151529.453026-1-zahari.doychev@linux.com/
- 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 (1):
ynl: samples: add tc filter example
tools/net/ynl/samples/.gitignore | 1 +
tools/net/ynl/samples/Makefile | 1 +
tools/net/ynl/samples/tc-filter-add.c | 327 ++++++++++++++++++++++++++
3 files changed, 329 insertions(+)
create mode 100644 tools/net/ynl/samples/tc-filter-add.c
--
2.51.2
Powered by blists - more mailing lists