[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <30e453ff-7d40-4a34-8017-e5c02b0c6e73@intel.com>
Date: Fri, 13 Oct 2023 11:49:54 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: Jiri Pirko <jiri@...nulli.us>, <netdev@...r.kernel.org>,
<pabeni@...hat.com>, <davem@...emloft.net>, <edumazet@...gle.com>,
<johannes@...solutions.net>
Subject: Re: [patch net-next 02/10] tools: ynl-gen: introduce support for
bitfield32 attribute type
On 10/12/2023 5:15 PM, Jakub Kicinski wrote:
> 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.
>
Ah, yep. Thanks for the clarification.
-Jake
Powered by blists - more mailing lists