diff options
| author | Breno Leitao <[email protected]> | 2025-07-02 10:06:39 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 01:52:57 +0000 |
| commit | 3dc6c76391cbe5ec7f87531d992beaf7dccc6ff4 (patch) | |
| tree | 1ecbe36eead3c1dc0be11040094f83d0054be07f /drivers/net/ethernet/intel/igc | |
| parent | netpoll: move Ethernet setup to push_eth() helper (diff) | |
| download | kernel-3dc6c76391cbe5ec7f87531d992beaf7dccc6ff4.tar.gz kernel-3dc6c76391cbe5ec7f87531d992beaf7dccc6ff4.zip | |
selftests: net: Add IPv6 support to netconsole basic tests
Add IPv6 support to the netconsole basic functionality tests by:
- Introducing separate IPv4 and IPv6 address variables (SRCIP4/SRCIP6,
DSTIP4/DSTIP6) to replace the single SRCIP/DSTIP variables
- Adding select_ipv4_or_ipv6() function to choose protocol version
- Updating socat configuration to use UDP6-LISTEN for IPv6 tests
- Adding wait_for_port() wrapper to handle protocol-specific port waiting
- Expanding test matrix to run both basic and extended formats against
both IPv4 and IPv6 protocols
- Improving cleanup to kill any remaining socat processes
- Adding sleep delays for better IPv6 packet handling reliability
The test now validates netconsole functionality across both IP versions,
improving test coverage for dual-stack network environments.
This test would avoid the regression fixed by commit f59902070269 ("net:
netpoll: Initialize UDP checksum field before checksumming")
Signed-off-by: Breno Leitao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
