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>
20 lines
740 B
Makefile
20 lines
740 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for net selftests
|
|
|
|
CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
|
|
CFLAGS += -I../../../../usr/include/
|
|
|
|
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh rtnetlink.sh
|
|
TEST_PROGS += fib_tests.sh fib-onlink-tests.sh in_netns.sh pmtu.sh udpgso.sh
|
|
TEST_PROGS += udpgso_bench.sh
|
|
TEST_GEN_FILES = socket
|
|
TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy
|
|
TEST_GEN_FILES += tcp_mmap
|
|
TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
|
|
TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict
|
|
TEST_GEN_PROGS += udpgso udpgso_bench_tx udpgso_bench_rx
|
|
|
|
include ../lib.mk
|
|
|
|
$(OUTPUT)/reuseport_bpf_numa: LDFLAGS += -lnuma
|
|
$(OUTPUT)/tcp_mmap: LDFLAGS += -lpthread
|