[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aJrHomEWwIn8a1Ql@fedora>
Date: Tue, 12 Aug 2025 04:48:34 +0000
From: Hangbin Liu <liuhangbin@...il.com>
To: Nikolay Aleksandrov <razor@...ckwall.org>
Cc: netdev@...r.kernel.org, Jay Vosburgh <jv@...sburgh.net>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, Shuah Khan <shuah@...nel.org>,
Jonathan Corbet <corbet@....net>, Petr Machata <petrm@...dia.com>,
Amit Cohen <amcohen@...dia.com>,
Vladimir Oltean <vladimir.oltean@....com>,
Alessandro Zanni <alessandro.zanni87@...il.com>,
linux-doc@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 1/3] bonding: add support for per-port LACP
actor priority
On Fri, Jul 25, 2025 at 11:55:54AM +0300, Nikolay Aleksandrov wrote:
> On 7/24/25 11:16, Hangbin Liu wrote:
> > Introduce a new option ad_actor_port_prio, allowing users to set the actor
> > port priority on a per-port basis in LACPDU.
> >
> > This priority can be used in future enhancements to influence aggregator
> > selection via ad_select policy.
> >
> > Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
> > ---
> > Documentation/networking/bonding.rst | 9 +++++++
> > drivers/net/bonding/bond_3ad.c | 2 ++
> > drivers/net/bonding/bond_netlink.c | 16 +++++++++++++
> > drivers/net/bonding/bond_options.c | 35 ++++++++++++++++++++++++++++
> > include/net/bond_3ad.h | 1 +
> > include/net/bond_options.h | 1 +
> > include/uapi/linux/if_link.h | 1 +
> > 7 files changed, 65 insertions(+)
> >
> > diff --git a/Documentation/networking/bonding.rst b/Documentation/networking/bonding.rst
> > index a4c1291d2561..5e105e7ac8e6 100644
> > --- a/Documentation/networking/bonding.rst
> > +++ b/Documentation/networking/bonding.rst
> > @@ -193,6 +193,15 @@ ad_actor_sys_prio
> > This parameter has effect only in 802.3ad mode and is available through
> > SysFs interface.
> >
> > +ad_actor_port_prio
> > +
> > + In an AD system, this specifies the port priority. The allowed range
> > + is 1 - 65535. If the value is not specified, it takes 255 as the
>
>
> Leaving this as a note: it is set to 255 because actor_port_priorty is initialized to 255
> and port_priority is initialized to actor_port_priority at slave
> bind time.
Hi Nikolay,
Is this a note for you? Or you want me add it to the doc?
Thanks
Hangbin
Powered by blists - more mailing lists