Subject: Re: [patch net-next 02/10] tools: ynl-gen: introduce support for bitfield32 attribute type

From: Jakub Kicinski <[email-masked]>
Date: Thu, 12 Oct 2023 17:15:32 -0700

On Thu, 12 Oct 2023 14:06:57 -0700 Jacob Keller wrote:
> >> - it doesn't support "by name" operations so ethtool didn't use it  
> > 
> > It follows the original Netlink rule: "all uapi should be well defined in
> > enums/defines".
> 
> What's the "by name" operation?

Instead of sending the full bit mask sending the list of bits and what
state we want them in. And that list can either have bit numbers or
names. Looking at ethnl_parse_bit() could be helpful.