diff options
author | 2025-04-09 18:46:55 -0700 | |
---|---|---|
committer | 2025-04-10 20:14:41 -0700 | |
commit | e8025e72aad6d74504c4918c81b532e1fb219b91 (patch) | |
tree | a137831231cdb8e74669e190d806d50a9ca9a9df /scripts/gdb/linux/timerlist.py | |
parent | tools: ynl: don't use genlmsghdr in classic netlink (diff) | |
download | wireguard-linux-e8025e72aad6d74504c4918c81b532e1fb219b91.tar.xz wireguard-linux-e8025e72aad6d74504c4918c81b532e1fb219b91.zip |
tools: ynl-gen: consider dump ops without a do "type-consistent"
If the type for the response to do and dump are the same we don't
generate it twice. This is called "type_consistent" in the generator.
Consider operations which only have dump to also be consistent.
This removes unnecessary "_dump" from the names. There's a number
of GET ops in classic Netlink which only have dump handlers.
Make sure we output the "onesided" types, normally if the type
is consistent we only output it when we render the do structures.
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250410014658.782120-11-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions