mirror-linux/tools/testing/selftests/drivers
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
..
dma-buf selftests/udmabuf: add a test to pin first before writing to memfd 2025-07-09 22:42:15 -07:00
gpu selftests/drivers/gpu: Add error messages to drm_mm.sh 2022-06-28 13:32:29 -06:00
net selftest: netcons: add test for netconsole over bonded interfaces 2025-11-10 18:34:44 -08:00
ntsync selftests: ntsync: Add a stress test for contended waits. 2025-01-08 13:18:12 +01:00
platform/x86/intel/ifs selftests: ifs: verify IFS ARRAY BIST functionality 2024-07-11 11:31:11 -06:00
s390x/uvdevice selftests: harness: remove unneeded __constructor_order_last() 2024-08-06 13:40:20 -06:00
sdsi selftests: sdsi: test sysfs setup 2022-03-02 14:56:12 +01:00
usb/usbip
.gitignore selftests: drivers/s390x: Add uvdevice tests 2022-05-20 16:38:42 +02:00