linux/tools/testing/selftests/drivers/net/bonding
Hangbin Liu 87951b5664 selftests: bonding: add test for passive LACP mode
Add a selftest to verify bonding behavior when `lacp_active` is set to `off`.

The test checks the following:
- The passive LACP bond should not send LACPDUs before receiving a partner's
  LACPDU.
- The transmitted LACPDUs must not include the active flag.
- After transitioning to EXPIRED and DEFAULTED states, the passive side should
  still not initiate LACPDUs.

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250815062000.22220-4-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-08-21 09:35:21 +02:00
..
Makefile selftests: bonding: add test for passive LACP mode 2025-08-21 09:35:21 +02:00
bond-arp-interval-causes-panic.sh selftests: bonding: do not set port down when adding to bond 2024-01-02 14:17:05 +00:00
bond-break-lacpdu-tx.sh selftests: bonding: use tc filter to check if LACP was sent 2024-02-07 18:26:20 -08:00
bond-eth-type-change.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
bond-lladdr-target.sh selftests: bonding: use slowwait instead of hard code sleep 2024-02-07 18:26:20 -08:00
bond_macvlan_ipvlan.sh selftests: bonding: add ipvlan over bond testing 2025-01-10 18:10:24 -08:00
bond_options.sh selftests: bonding: fix incorrect mac address 2025-03-11 13:19:27 +01:00
bond_passive_lacp.sh selftests: bonding: add test for passive LACP mode 2025-08-21 09:35:21 +02:00
bond_topo_2d1c.sh selftests: bonding: use slowwait instead of hard code sleep 2024-02-07 18:26:20 -08:00
bond_topo_3d1c.sh selftest: bond: add new topo bond_topo_2d1c.sh 2023-08-24 10:07:13 +02:00
config selftests: bonding: add test for passive LACP mode 2025-08-21 09:35:21 +02:00
dev_addr_lists.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
lag_lib.sh selftests: bonding: use slowwait instead of hard code sleep 2024-02-07 18:26:20 -08:00
mode-1-recovery-updelay.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
mode-2-recovery-updelay.sh selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES 2024-01-31 10:55:11 +00:00
settings selftests: bonding: Increase timeout to 1200s 2024-01-19 21:12:31 -08:00