linux/tools/testing/selftests/drivers/net/bonding
Breno Leitao 236682db3b selftest: netcons: add test for netconsole over bonded interfaces
This patch adds a selftest that verifies netconsole functionality
over bonded network interfaces using netdevsim. It sets up two bonded
interfaces acting as transmit (TX) and receive (RX) ends, placed in
separate network namespaces. The test sends kernel log messages and
verifies that they are properly received on the bonded RX interfaces
with both IPv4 and IPv6, and using basic and extended netconsole
formats.

This patchset aims to test a long-standing netpoll subsystem where
netpoll has multiple users. (in this case netconsole and bonding). A
similar selftest has been discussed in [1] and [2].

This test also tries to enable bonding and netpoll in different order,
just to guarantee that all the possibilities are exercised.

Link: https://lore.kernel.org/all/20250905-netconsole_torture-v3-0-875c7febd316@debian.org/ [1]
Link: https://lore.kernel.org/lkml/96b940137a50e5c387687bb4f57de8b0435a653f.1404857349.git.decot@googlers.com/ [2]
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251107-netconsole_torture-v10-4-749227b55f63@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-10 18:34:44 -08:00
..
Makefile selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08: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_ipsec_offload.sh selftests: bonding: add ipsec offload test 2025-09-30 09:55:12 +02:00
bond_lacp_prio.sh selftests: bonding: add test for LACP actor port priority 2025-09-09 10:56:02 +02: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: add vlan over bond testing 2025-09-17 15:13:51 -07: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: add fail_over_mac testing 2025-09-15 17:48:42 -07:00
bond_topo_3d1c.sh selftests: bonding: add fail_over_mac testing 2025-09-15 17:48:42 -07:00
config selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08: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
netcons_over_bonding.sh selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08:00
settings selftests: bonding: Increase timeout to 1200s 2024-01-19 21:12:31 -08:00