twx-linux/tools/net/ynl
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
..
generated tools: ynl: enable codegen for TC 2025-05-21 12:38:23 -07:00
lib tools: ynl-gen: support weird sub-message formats 2025-05-21 12:38:23 -07:00
pyynl tools: ynl-gen: support weird sub-message formats 2025-05-21 12:38:23 -07:00
samples tools: ynl: add a sample for TC 2025-05-21 12:38:23 -07:00
Makefile tools: ynl: add main install target 2025-01-09 12:53:27 -08:00
Makefile.deps tools: ynl: enable codegen for TC 2025-05-21 12:38:23 -07:00
pyproject.toml tools: ynl: add initial pyproject.toml for packaging 2025-01-09 12:53:27 -08:00
requirements.txt tools: ynl: add the Python requirements.txt file 2023-03-24 19:11:02 -07:00
ynl-regen.sh tools: ynl: move python code to separate sub-directory 2025-01-09 12:53:27 -08:00