diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2025-09-02 06:45:00 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-09-09 10:56:02 +0200 |
| commit | e5a6643435fa4ad1e104323ec7d3e6215e2d832c (patch) | |
| tree | e944a0df9a4bbc8a8a9b1b844111e8a935ad7cbd /Documentation/networking | |
| parent | 6b6dc81ee7e8ca87c71a533e1d69cf96a4f1e986 (diff) | |
| download | linux-e5a6643435fa4ad1e104323ec7d3e6215e2d832c.tar.gz linux-e5a6643435fa4ad1e104323ec7d3e6215e2d832c.tar.bz2 linux-e5a6643435fa4ad1e104323ec7d3e6215e2d832c.zip | |
bonding: support aggregator selection based on port priority
Add a new ad_select policy 'port_priority' that uses the per-port
actor priority values (set via ad_actor_port_prio) to determine
aggregator selection.
This allows administrators to influence which ports are preferred
for aggregation by assigning different priority values, providing
more flexible load balancing control in LACP configurations.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250902064501.360822-3-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/networking')
| -rw-r--r-- | Documentation/networking/bonding.rst | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Documentation/networking/bonding.rst b/Documentation/networking/bonding.rst index 345b60992446..e700bf1d095c 100644 --- a/Documentation/networking/bonding.rst +++ b/Documentation/networking/bonding.rst @@ -250,10 +250,18 @@ ad_select ports (slaves). Reselection occurs as described under the "bandwidth" setting, above. - The bandwidth and count selection policies permit failover of - 802.3ad aggregations when partial failure of the active aggregator - occurs. This keeps the aggregator with the highest availability - (either in bandwidth or in number of ports) active at all times. + actor_port_prio or 3 + + The active aggregator is chosen by the highest total sum of + actor port priorities across its active ports. Note this + priority is actor_port_prio, not per port prio, which is + used for primary reselect. + + The bandwidth, count and actor_port_prio selection policies permit + failover of 802.3ad aggregations when partial failure of the active + aggregator occurs. This keeps the aggregator with the highest + availability (either in bandwidth, number of ports, or total value + of port priorities) active at all times. This option was added in bonding version 3.4.0. |
