Re: [PATCH net 3/3] net: ethtool: tsconfig: Fix netlink type of hwtstamp flags

From: Jakub Kicinski
Date: Thu Jan 30 2025 - 11:44:27 EST


On Thu, 30 Jan 2025 10:27:16 +0100 Kory Maincent wrote:
> > In general IMHO YNL makes the bitset functionality less important.
>
> Do you mean you prefer u32 for bitfield instead of the bitset type? Why?

Not in this case, but in general uint can carry up to 64 bits,
and the names of the fields are in the spec (both Python and
C code automatically decode them based on the spec). I see less
of a need for the complex "forward compatibility" handling
in the kernel because of that.