Re: [PATCH net-next v3 00/11] wireguard: netlink: ynl conversion

From: Jakub Kicinski

Date: Mon Nov 10 2025 - 21:10:51 EST


On Wed, 5 Nov 2025 18:32:09 +0000 Asbjørn Sloth Tønnesen wrote:
> This series completes the implementation of YNL for wireguard,
> as previously announced[1].
>
> This series consist of 5 parts:
> 1) Patch 01-03 - Misc. changes
> 2) Patch 04 - Add YNL specification for wireguard
> 3) Patch 05-07 - Transition to a generated UAPI header
> 4) Patch 08 - Adds a sample program for the generated C library
> 5) Patch 09-11 - Transition to generated netlink policy code
>
> The main benefit of having a YNL specification is unlocked after the
> first 2 parts, the RFC version seems to already have spawned a new
> Rust netlink binding[2] using wireguard as it's main example.
>
> Part 3 and 5 validates that the specification is complete and aligned,
> the generated code might have a few warts, but they don't matter too
> much, and are mostly a transitional problem[3].
>
> Part 4 is possible after part 2, but is ordered after part 3,
> as it needs to duplicate the UAPI header in tools/include.

These LGTM, now.

Jason what's your feeling here? AFAICT the changes to the wg code
are quite minor now.