[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250422075524.3bef2b46@kernel.org>
Date: Tue, 22 Apr 2025 07:55:24 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Saeed Mahameed <saeed@...nel.org>, "David S. Miller"
<davem@...emloft.net>, Paolo Abeni <pabeni@...hat.com>, Eric Dumazet
<edumazet@...gle.com>, Saeed Mahameed <saeedm@...dia.com>,
netdev@...r.kernel.org, Tariq Toukan <tariqt@...dia.com>, Gal Pressman
<gal@...dia.com>, Jiri Pirko <jiri@...dia.com>
Subject: Re: [PATCH net-next V2 01/14] devlink: define enum for attr types
of dynamic attributes
On Tue, 22 Apr 2025 11:14:36 +0200 Jiri Pirko wrote:
> >Ugh, I thought enum netlink_attribute_type matches the values :|
> >And user space uses MNL_ types.
> >
> >Please don't invent _DYN_ATTR at least. Why not PARAM_TYPE ?
>
> Because it is used for both params and health reporters (fmsg).
I see. Still, a better name is needed. "Dynamic" sounds too positive,
and the construct is a dead end and a misunderstanding of netlink.
Coincidentally - you added it to the YNL spec but didn't set it for
the attrs that carry the values of the enum.
Powered by blists - more mailing lists