]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools: ynl-gen: support using dump types for ntf
authorJakub Kicinski <kuba@kernel.org>
Tue, 29 Apr 2025 15:46:57 +0000 (08:46 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 2 May 2025 10:41:02 +0000 (12:41 +0200)
commitbbfb3c557c66899480c679b7958908722b821ac3
tree4fda54108177bc269362ede8599818de0beb2059
parentfe7d57e040f7d189e3bd030f311bb2011a0cc35a
tools: ynl-gen: support using dump types for ntf

Classic Netlink has GET callbacks with no doit support, just dumps.
Support using their responses in notifications. If notification points
at a type which only has a dump - use the dump's type.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250429154704.2613851-6-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/net/ynl/pyynl/ynl_gen_c.py