diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2025-09-02 06:45:01 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-09-09 10:56:02 +0200 |
| commit | c2377f1763e9ee52a2e7c996a748c7cbca255397 (patch) | |
| tree | ded83f99fa79db99f0eb98cf8bac1f6ea5ba93b2 /tools/testing/selftests/drivers/net/bonding/Makefile | |
| parent | e5a6643435fa4ad1e104323ec7d3e6215e2d832c (diff) | |
| download | lwn-c2377f1763e9ee52a2e7c996a748c7cbca255397.tar.gz lwn-c2377f1763e9ee52a2e7c996a748c7cbca255397.zip | |
selftests: bonding: add test for LACP actor port priority
Add comprehensive selftest to verify:
- Per-port actor priority setting via ad_actor_port_prio
- Aggregator selection behavior with port_priority ad_select policy
Also move cmd_jq helper from forwarding/lib.sh to net/lib.sh for
broader reusability across network selftests.
Here is the result output
# ./bond_lacp_prio.sh
TEST: bond 802.3ad (ad_actor_port_prio setting) [ OK ]
TEST: bond 802.3ad (ad_actor_port_prio select) [ OK ]
TEST: bond 802.3ad (ad_actor_port_prio switch) [ OK ]
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250902064501.360822-4-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/drivers/net/bonding/Makefile')
| -rw-r--r-- | tools/testing/selftests/drivers/net/bonding/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/bonding/Makefile b/tools/testing/selftests/drivers/net/bonding/Makefile index 44b98f17f8ff..3462783ed3ac 100644 --- a/tools/testing/selftests/drivers/net/bonding/Makefile +++ b/tools/testing/selftests/drivers/net/bonding/Makefile @@ -11,7 +11,8 @@ TEST_PROGS := \ bond_options.sh \ bond-eth-type-change.sh \ bond_macvlan_ipvlan.sh \ - bond_passive_lacp.sh + bond_passive_lacp.sh \ + bond_lacp_prio.sh TEST_FILES := \ lag_lib.sh \ |
