[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <258215a4-f3c9-4f53-b8a8-f9424edc8141@intel.com>
Date: Thu, 24 Apr 2025 08:51:01 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Jakub Kicinski <kuba@...nel.org>, <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, <edumazet@...gle.com>, <pabeni@...hat.com>,
<andrew+netdev@...n.ch>, <horms@...nel.org>, <donald.hunter@...il.com>,
<sdf@...ichev.me>
Subject: Re: [PATCH net-next 04/12] tools: ynl: let classic netlink requests
specify extra nlflags
On 4/23/2025 7:11 PM, Jakub Kicinski wrote:
> Classic netlink makes extensive use of flags. Support specifying
> them the same way as attributes are specified (using a helper),
> for example:
>
> rt_link_newlink_req_set_nlflags(req, NLM_F_CREATE | NLM_F_ECHO);
>
> Wrap the code up in a RenderInfo predicate. I think that some
> genetlink families may want this, too. It should be easy to
> add a spec property later.
Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
Ya, I recall the flags occasionally coming up in genetlink, though not
as much as rtnetlink does.
Powered by blists - more mailing lists