From 3492ea496c0a5204afeaf2913bb9aa82cd0d149a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Date: Fri, 2 Aug 2024 13:32:21 +0200 Subject: [PATCH] testing/test_runner: Enable GRO on veth interfaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When setting up the test environment, make sure to enable GRO on the veth interfaces, so that XDP redirection will work. Signed-off-by: Toke Høiland-Jørgensen --- lib/testing/test_runner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/testing/test_runner.sh b/lib/testing/test_runner.sh index f6be7939..248fc00f 100755 --- a/lib/testing/test_runner.sh +++ b/lib/testing/test_runner.sh @@ -302,8 +302,8 @@ init_ns() ip link add dev "$nsname" type veth peer name "$peername" set_sysctls $nsname - ethtool -K "$nsname" rxvlan off txvlan off - ethtool -K "$peername" rxvlan off txvlan off + ethtool -K "$nsname" rxvlan off txvlan off gro on + ethtool -K "$peername" rxvlan off txvlan off gro on OUTSIDE_MAC=$(iface_macaddr "$nsname") INSIDE_MAC=$(iface_macaddr "$peername")