From: Paolo Abeni Date: Fri, 2 May 2025 10:41:05 +0000 (+0200) Subject: Merge branch 'tools-ynl-gen-additional-c-types-and-classic-netlink-handling' X-Git-Tag: v6.16-rc1~132^2~178 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb9d6b2c2a605f7ee54d18f126d772b4280ee83a;p=thirdparty%2Flinux.git Merge branch 'tools-ynl-gen-additional-c-types-and-classic-netlink-handling' Jakub Kicinski says: ==================== tools: ynl-gen: additional C types and classic netlink handling This series is a bit of a random grab bag adding things we need to generate code for rt-link. First two patches are pretty random code cleanups. Patch 3 adds default values if the spec is missing them. Patch 4 adds support for setting Netlink request flags (NLM_F_CREATE, NLM_F_REPLACE etc.). Classic netlink uses those quite a bit. Patches 5 and 6 extend the notification handling for variations used in classic netlink. Patch 6 adds support for when notification ID is the same as the ID of the response message to GET. Next 4 patches add support for handling a couple of complex types. These are supported by the schema and Python but C code gen wasn't there. Patch 11 is a bit of a hack, it skips code related to kernel policy generation, since we don't need it for classic netlink. Patch 12 adds support for having different fixed headers per op. Something we could avoid in previous rtnetlink specs but some specs do mix. v2: https://lore.kernel.org/20250425024311.1589323-1-kuba@kernel.org v1: https://lore.kernel.org/20250424021207.1167791-1-kuba@kernel.org ==================== Link: https://patch.msgid.link/20250429154704.2613851-1-kuba@kernel.org Signed-off-by: Paolo Abeni --- cb9d6b2c2a605f7ee54d18f126d772b4280ee83a