bonding: add support for per-port LACP actor priority
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 2 Sep 2025 06:44:59 +0000 (06:44 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Sep 2025 08:56:02 +0000 (10:56 +0200)
commit6b6dc81ee7e8ca87c71a533e1d69cf96a4f1e986
treeb2b1fc976fd6636e7117c6fae55db06ddd4000ff
parent389cca2bde7d44f9d681eb5b4065ec6b25b9138f
bonding: add support for per-port LACP actor priority

Introduce a new netlink attribute 'actor_port_prio' to allow setting
the LACP actor port priority on a per-slave basis. This extends the
existing bonding infrastructure to support more granular control over
LACP negotiations.

The priority value is embedded in LACPDU packets and will be used by
subsequent patches to influence aggregator selection policies.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250902064501.360822-2-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/networking/bonding.rst
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_netlink.c
drivers/net/bonding/bond_options.c
include/net/bond_3ad.h
include/net/bond_options.h
include/uapi/linux/if_link.h