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.