Re: [PATCH net-next v12 13/13] netlink: specs: tsinfo: Enhance netlink attributes and add a set command

From: Jakub Kicinski
Date: Wed May 01 2024 - 22:14:18 EST


On Tue, 30 Apr 2024 17:49:56 +0200 Kory Maincent wrote:
> + -
> + name: hwtst-provider
> + type: nest
> + nested-attributes: tsinfo-hwtst-provider
> + -
> + name: hwtst-flags
> + type: u32

C code is unhappy about the naming here vs what the actual C enums
are called (make -C tools/net/ynl)

You can keep the shorter names if very strongly prefer (🙂‍↔️) but then
you need to give C code gen hints about naming:
https://docs.kernel.org/next/userspace-api/netlink/c-code-gen.html