public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests
@ 2026-02-17 14:29 Eric Dumazet
  2026-02-17 15:08 ` Willem de Bruijn
  2026-02-19  0:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Dumazet @ 2026-02-17 14:29 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Neal Cardwell, Kuniyuki Iwashima, Willem de Bruijn,
	netdev, eric.dumazet, Eric Dumazet

Add ipv4-mapped-ipv6 case to ksft_runner.sh before
an upcoming TCP fix in this area.

Signed-off-by: Eric Dumazet <edumazet@google.com>
---
 .../testing/selftests/net/packetdrill/ksft_runner.sh  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/packetdrill/ksft_runner.sh b/tools/testing/selftests/net/packetdrill/ksft_runner.sh
index b34e5cf0112e38ede3edf8d36e266e39f999ca03..0a97d5ae34699a7c0638972e21243b71047a8554 100755
--- a/tools/testing/selftests/net/packetdrill/ksft_runner.sh
+++ b/tools/testing/selftests/net/packetdrill/ksft_runner.sh
@@ -13,6 +13,15 @@ declare -A ip_args=(
 		-D TFO_COOKIE_ZERO=b7c12350a90dc8f5
 		-D CMSG_LEVEL_IP=SOL_IP
 		-D CMSG_TYPE_RECVERR=IP_RECVERR"
+	[ipv4-mapped-ipv6]="--ip_version=ipv4-mapped-ipv6
+		--local_ip=192.168.0.1
+		--gateway_ip=192.168.0.1
+		--netmask_ip=255.255.0.0
+		--remote_ip=192.0.2.1
+		-D TFO_COOKIE=3021b9d889017eeb
+		-D TFO_COOKIE_ZERO=b7c12350a90dc8f5
+		-D CMSG_LEVEL_IP=SOL_IPV6
+		-D CMSG_TYPE_RECVERR=IPV6_RECVERR"
 	[ipv6]="--ip_version=ipv6
 		--mtu=1520
 		--local_ip=fd3d:0a0b:17d6::1
@@ -45,7 +54,7 @@ fi
 
 ip_versions=$(grep -E '^--ip_version=' $script | cut -d '=' -f 2)
 if [[ -z $ip_versions ]]; then
-	ip_versions="ipv4 ipv6"
+	ip_versions="ipv4 ipv6 ipv4-mapped-ipv6"
 elif [[ ! "$ip_versions" =~ ^ipv[46]$ ]]; then
 	ktap_exit_fail_msg "Too many or unsupported --ip_version: $ip_versions"
 	exit "$KSFT_FAIL"
-- 
2.53.0.310.g728cabbaf7-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests
  2026-02-17 14:29 [PATCH net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests Eric Dumazet
@ 2026-02-17 15:08 ` Willem de Bruijn
  2026-02-19  0:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Willem de Bruijn @ 2026-02-17 15:08 UTC (permalink / raw)
  To: Eric Dumazet, David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Neal Cardwell, Kuniyuki Iwashima, Willem de Bruijn,
	netdev, eric.dumazet, Eric Dumazet

Eric Dumazet wrote:
> Add ipv4-mapped-ipv6 case to ksft_runner.sh before
> an upcoming TCP fix in this area.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Reviewed-by: Willem de Bruijn <willemb@google.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests
  2026-02-17 14:29 [PATCH net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests Eric Dumazet
  2026-02-17 15:08 ` Willem de Bruijn
@ 2026-02-19  0:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-02-19  0:50 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: davem, kuba, pabeni, horms, ncardwell, kuniyu, willemb, netdev,
	eric.dumazet

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 17 Feb 2026 14:29:24 +0000 you wrote:
> Add ipv4-mapped-ipv6 case to ksft_runner.sh before
> an upcoming TCP fix in this area.
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> ---
>  .../testing/selftests/net/packetdrill/ksft_runner.sh  | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

Here is the summary with links:
  - [net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests
    https://git.kernel.org/netdev/net/c/570e4549f632

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-19  0:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 14:29 [PATCH net] selftests/net: packetdrill: add ipv4-mapped-ipv6 tests Eric Dumazet
2026-02-17 15:08 ` Willem de Bruijn
2026-02-19  0:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox