diff options
author | 2025-05-20 09:19:10 -0700 | |
---|---|---|
committer | 2025-05-21 12:38:22 -0700 | |
commit | cb39645d9a6a8b84f2e820db7c2b49ebd4b18b2c (patch) | |
tree | 19f8b362a9bb2ebfb4a0c0d0cf1da1f9ce5a0dc5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | netlink: specs: tc: drop the family name prefix from attrs (diff) | |
download | wireguard-linux-cb39645d9a6a8b84f2e820db7c2b49ebd4b18b2c.tar.xz wireguard-linux-cb39645d9a6a8b84f2e820db7c2b49ebd4b18b2c.zip |
tools: ynl-gen: support passing selector to a nest
In rtnetlink all submessages had the selector at the same level
of nesting as the submessage. We could refer to the relevant
attribute from the current struct. In TC, stats are one level
of nesting deeper than "kind". Teach the code-gen about structs
which need to be passed a selector by the caller for parsing.
Because structs are "topologically sorted" one pass of propagating
the selectors down is enough.
For generating netlink message we depend on the presence bits
so no selector passing needed there.
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250520161916.413298-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions