selftests: udp gso benchmark
authorWillem de Bruijn <willemb@google.com>
Thu, 26 Apr 2018 17:42:25 +0000 (13:42 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2018 19:09:52 +0000 (15:09 -0400)
commit3a687bef148d94da13dc25981bb7b1e26a1ab125
tree7d837467230112425cf5bb43a92102ef7047545a
parent3f12817fe3827b83e757617c2ff99f0ab088f5b9
selftests: udp gso benchmark

Send udp data between a source and sink, optionally with udp gso.
The two processes are expected to be run on separate hosts.

A script is included that runs them together over loopback in a
single namespace for functionality testing.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/.gitignore
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/udpgso_bench.sh [new file with mode: 0755]
tools/testing/selftests/net/udpgso_bench_rx.c [new file with mode: 0644]
tools/testing/selftests/net/udpgso_bench_tx.c [new file with mode: 0644]