• Paolo Abeni's avatar
    selftests: add functionals test for UDP GRO · 3327a9c4
    Paolo Abeni authored
    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: default avatarPaolo Abeni <pabeni@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3327a9c4
udpgso_bench_tx.c 9.12 KB