Thread (10 messages) 10 messages, 2 authors, 2025-09-29

Re: [PATCH net v5 4/4] selftest: netcons: add test for netconsole over bonded interfaces

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-20 00:49:03
Also in: linux-kselftest, lkml

On Thu, 18 Sep 2025 03:42:08 -0700 Breno Leitao wrote:
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.
I'm not great at reading bash but I don't think this tests what we care
about. We want to test bonding's special ability to propagate a netpoll
instances onto its sub-interfaces. So you should be trying to test
different orders of setting and disabling netpoll on the bond and its
sub-interfaces (while the other is setup path is also active).

Since the bonding tests can't run on real HW it can't live directly in
tools/testing/selftests/drivers/net/ we need to move it to either the
netdevsim group or the bonding group.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help