]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: extend zerocopy tests to udp
authorWillem de Bruijn <willemb@google.com>
Fri, 30 Nov 2018 20:32:41 +0000 (15:32 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2018 23:58:32 +0000 (15:58 -0800)
commitdb63e489c7aa03bab86960d6bcb6bf1fad8eea4e
treec8c872ef216758c80a3655edb104f00903eced8c
parent52900d22288e7d45846037e1db277c665bbc40db
selftests: extend zerocopy tests to udp

Both msg_zerocopy and udpgso_bench have udp zerocopy variants.
Exercise these as part of the standard kselftest run.

With udp, msg_zerocopy has no control channel. Ensure that the
receiver exits after the sender by accounting for the initial
delay in starting them (in msg_zerocopy.sh).

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/msg_zerocopy.c
tools/testing/selftests/net/msg_zerocopy.sh
tools/testing/selftests/net/udpgso_bench.sh