mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
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>
26 lines
516 B
Makefile
26 lines
516 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for net selftests
|
|
|
|
TEST_PROGS := \
|
|
bond-arp-interval-causes-panic.sh \
|
|
bond-break-lacpdu-tx.sh \
|
|
bond-lladdr-target.sh \
|
|
dev_addr_lists.sh \
|
|
mode-1-recovery-updelay.sh \
|
|
mode-2-recovery-updelay.sh \
|
|
bond_options.sh \
|
|
bond-eth-type-change.sh \
|
|
bond_macvlan_ipvlan.sh \
|
|
bond_passive_lacp.sh
|
|
|
|
TEST_FILES := \
|
|
lag_lib.sh \
|
|
bond_topo_2d1c.sh \
|
|
bond_topo_3d1c.sh
|
|
|
|
TEST_INCLUDES := \
|
|
../../../net/forwarding/lib.sh \
|
|
../../../net/lib.sh
|
|
|
|
include ../../../lib.mk
|