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 /include/net/bond_3ad.h | |
| parent | 6b6dc81ee7e8ca87c71a533e1d69cf96a4f1e986 (diff) | |
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 'include/net/bond_3ad.h')
| -rw-r--r-- | include/net/bond_3ad.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bond_3ad.h b/include/net/bond_3ad.h index e9188646e22e..c92d4a976246 100644 --- a/include/net/bond_3ad.h +++ b/include/net/bond_3ad.h @@ -26,6 +26,7 @@ enum { BOND_AD_STABLE = 0, BOND_AD_BANDWIDTH = 1, BOND_AD_COUNT = 2, + BOND_AD_PRIO = 3, }; /* rx machine states(43.4.11 in the 802.3ad standard) */ |