selftests: add functionals test for UDP GRO
Extends the existing udp programs to allow checking for proper GRO aggregation/GSO size, and run the tests via a shell script, using a veth pair with XDP program attached to trigger the GRO code path. rfc v3 -> v1: - use ip route to attach the xdp helper to the veth rfc v2 -> rfc v3: - add missing test program options documentation - fix sporatic test failures (receiver faster than sender) Signed-off-by:Paolo Abeni <pabeni@redhat.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- tools/testing/selftests/net/Makefile 1 addition, 1 deletiontools/testing/selftests/net/Makefile
- tools/testing/selftests/net/udpgro.sh 148 additions, 0 deletionstools/testing/selftests/net/udpgro.sh
- tools/testing/selftests/net/udpgro_bench.sh 5 additions, 3 deletionstools/testing/selftests/net/udpgro_bench.sh
- tools/testing/selftests/net/udpgso_bench.sh 1 addition, 1 deletiontools/testing/selftests/net/udpgso_bench.sh
- tools/testing/selftests/net/udpgso_bench_rx.c 111 additions, 12 deletionstools/testing/selftests/net/udpgso_bench_rx.c
- tools/testing/selftests/net/udpgso_bench_tx.c 16 additions, 6 deletionstools/testing/selftests/net/udpgso_bench_tx.c
Loading
Please register or sign in to comment