linux/tools/net/ynl/samples
Jakub Kicinski 4e4dc6db2b tools: ynl: add a sample for TC
Add a very simple TC dump sample with decoding of fq_codel attrs:

  # ./tools/net/ynl/samples/tc
        dummy0: fq_codel  limit: 10240p target: 5ms new_flow_cnt: 0

proving that selector passing (for stats) works.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250520161916.413298-13-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-05-21 12:38:23 -07:00
..
.gitignore tools: ynl: add a sample for TC 2025-05-21 12:38:23 -07:00
devlink.c tools: ynl-gen: move the count into a presence struct too 2025-05-07 18:21:26 -07:00
ethtool.c
Makefile tools: ynl: extend CFLAGS to keep options from environment 2024-11-13 18:43:46 -08:00
netdev.c
ovs.c
page-pool.c ynl: samples: Fix the wrong format specifier 2024-11-13 18:48:15 -08:00
rt-addr.c tools: ynl-gen: split presence metadata 2025-05-07 18:21:25 -07:00
rt-link.c tools: ynl: add a sample for rt-link 2025-05-16 16:32:06 -07:00
rt-route.c tools: ynl-gen: split presence metadata 2025-05-07 18:21:25 -07:00
tc.c tools: ynl: add a sample for TC 2025-05-21 12:38:23 -07:00