passt/test/perf
David Gibson dbaaebbe00 test: Reconfigure IPv6 address after changing MTU
In the TCP throughput tests, we adjust the guest's MTU in order to test
various packet sizes.  Some of those are below 1280 which causes IPv6 to
be deconfigured on the guest interface.  When we increase it above 1280
again, IPv6 is re-enabled and we get an address in the right prefix with
NDP, but we don't get exactly the expected address back - that's only
communicated with --config-net or DHCPv6.

With changes to how we handle NAT this can cause some of the IPv6 tests to
fail, because they don't use the address that passt/pasta expects, and the
guest doesn't initiate any traffic which allows us to learn what the new
address is.

Work around this by re-invoking dhclient -6 between adjusting the MTU and
running IPv6 test cases.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2024-08-21 12:00:33 +02:00
..
passt_tcp test: Reconfigure IPv6 address after changing MTU 2024-08-21 12:00:33 +02:00
passt_udp test: Speed up by cutting on eye candy and performance test duration 2024-08-15 09:13:15 +02:00
pasta_tcp test: Speed up by cutting on eye candy and performance test duration 2024-08-15 09:13:15 +02:00
pasta_udp test: Speed up by cutting on eye candy and performance test duration 2024-08-15 09:13:15 +02:00