[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZXp8Elbqfxuum01g@Laptop-X1>
Date: Thu, 14 Dec 2023 11:52:50 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, Jiri Pirko <jiri@...nulli.us>,
Paolo Abeni <pabeni@...hat.com>
Subject: Re: [Draft PATCH net-next 1/3] Documentation: netlink: add a YAML
spec for team
On Wed, Dec 13, 2023 at 08:18:18AM -0800, Jakub Kicinski wrote:
> On Wed, 13 Dec 2023 16:45:00 +0800 Hangbin Liu wrote:
> > + -
> > + name: noop
> > + doc: No operation
> > + value: 0
> > + attribute-set: team
> > + dont-validate: [ strict, dump ]
> > +
> > + do:
> > + # Actually it only reply the team netlink family
> > + reply:
> > + attributes:
> > + - team-ifindex
>
> Oh my. Does it actually take team-ifindex or its an op with no input
> and no output?
No, it doesn't take team-ifindex. It's an option with no input
and just reply the team_nl_family.
I added this reply attribute just to make sure the TEAM_CMD_NOOP show in the
cmd enum to not break uAPI.
Thanks
Hangbin
Powered by blists - more mailing lists