]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-5.15/selftests-net-gro-fwd-update-vxlan-gro-test-expectations.patch
6.6-stable patches
[thirdparty/kernel/stable-queue.git] / queue-5.15 / selftests-net-gro-fwd-update-vxlan-gro-test-expectations.patch
1 From 0fb101be97ca27850c5ecdbd1269423ce4d1f607 Mon Sep 17 00:00:00 2001
2 From: Antoine Tenart <atenart@kernel.org>
3 Date: Tue, 26 Mar 2024 12:34:02 +0100
4 Subject: selftests: net: gro fwd: update vxlan GRO test expectations
5
6 From: Antoine Tenart <atenart@kernel.org>
7
8 commit 0fb101be97ca27850c5ecdbd1269423ce4d1f607 upstream.
9
10 UDP tunnel packets can't be GRO in-between their endpoints as this
11 causes different issues. The UDP GRO fwd vxlan tests were relying on
12 this and their expectations have to be fixed.
13
14 We keep both vxlan tests and expected no GRO from happening. The vxlan
15 UDP GRO bench test was removed as it's not providing any valuable
16 information now.
17
18 Fixes: a062260a9d5f ("selftests: net: add UDP GRO forwarding self-tests")
19 Signed-off-by: Antoine Tenart <atenart@kernel.org>
20 Signed-off-by: David S. Miller <davem@davemloft.net>
21 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 ---
23 tools/testing/selftests/net/udpgro_fwd.sh | 10 ++--------
24 1 file changed, 2 insertions(+), 8 deletions(-)
25
26 --- a/tools/testing/selftests/net/udpgro_fwd.sh
27 +++ b/tools/testing/selftests/net/udpgro_fwd.sh
28 @@ -238,7 +238,7 @@ for family in 4 6; do
29
30 create_vxlan_pair
31 ip netns exec $NS_DST ethtool -K veth$DST rx-gro-list on
32 - run_test "GRO frag list over UDP tunnel" $OL_NET$DST 1 1
33 + run_test "GRO frag list over UDP tunnel" $OL_NET$DST 10 10
34 cleanup
35
36 # use NAT to circumvent GRO FWD check
37 @@ -251,13 +251,7 @@ for family in 4 6; do
38 # load arp cache before running the test to reduce the amount of
39 # stray traffic on top of the UDP tunnel
40 ip netns exec $NS_SRC $PING -q -c 1 $OL_NET$DST_NAT >/dev/null
41 - run_test "GRO fwd over UDP tunnel" $OL_NET$DST_NAT 1 1 $OL_NET$DST
42 - cleanup
43 -
44 - create_vxlan_pair
45 - run_bench "UDP tunnel fwd perf" $OL_NET$DST
46 - ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
47 - run_bench "UDP tunnel GRO fwd perf" $OL_NET$DST
48 + run_test "GRO fwd over UDP tunnel" $OL_NET$DST_NAT 10 10 $OL_NET$DST
49 cleanup
50 done
51