Skip to content

Commit 4ceb4fc

Browse files
committed
testing/test_runner: Enable GRO on veth interfaces
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 <[email protected]>
1 parent 4d83d52 commit 4ceb4fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/testing/test_runner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ init_ns()
302302
ip link add dev "$nsname" type veth peer name "$peername"
303303
set_sysctls $nsname
304304

305-
ethtool -K "$nsname" rxvlan off txvlan off
306-
ethtool -K "$peername" rxvlan off txvlan off
305+
ethtool -K "$nsname" rxvlan off txvlan off gro on
306+
ethtool -K "$peername" rxvlan off txvlan off gro on
307307

308308
OUTSIDE_MAC=$(iface_macaddr "$nsname")
309309
INSIDE_MAC=$(iface_macaddr "$peername")

0 commit comments

Comments
 (0)