Makefile (06dd3f31cb70035cbd3f507c11fd50e3089aeb81) Makefile (5ef5c90e3cb3ae1ce7bebddaeb8e8f44309950f7)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for net selftests
3
4CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
5CFLAGS += -I../../../../usr/include/
6
7TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
8 rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh
9TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh
10TEST_PROGS += udpgso_bench.sh fib_rule_tests.sh msg_zerocopy.sh psock_snd.sh
11TEST_PROGS += udpgro_bench.sh udpgro.sh test_vxlan_under_vrf.sh reuseport_addr_any.sh
12TEST_PROGS += test_vxlan_fdb_changelink.sh so_txtime.sh ipv6_flowlabel.sh
13TEST_PROGS += tcp_fastopen_backup_key.sh fcnal-test.sh l2tp.sh traceroute.sh
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for net selftests
3
4CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
5CFLAGS += -I../../../../usr/include/
6
7TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
8 rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh
9TEST_PROGS += fib_tests.sh fib-onlink-tests.sh pmtu.sh udpgso.sh ip_defrag.sh
10TEST_PROGS += udpgso_bench.sh fib_rule_tests.sh msg_zerocopy.sh psock_snd.sh
11TEST_PROGS += udpgro_bench.sh udpgro.sh test_vxlan_under_vrf.sh reuseport_addr_any.sh
12TEST_PROGS += test_vxlan_fdb_changelink.sh so_txtime.sh ipv6_flowlabel.sh
13TEST_PROGS += tcp_fastopen_backup_key.sh fcnal-test.sh l2tp.sh traceroute.sh
14TEST_PROGS += fin_ack_lat.sh
14TEST_PROGS += fin_ack_lat.sh fib_nexthop_multiprefix.sh fib_nexthops.sh
15TEST_PROGS += altnames.sh icmp_redirect.sh ip6_gre_headroom.sh
16TEST_PROGS += route_localnet.sh
17TEST_PROGS += reuseaddr_ports_exhausted.sh
18TEST_PROGS += txtimestamp.sh
15TEST_PROGS_EXTENDED := in_netns.sh
16TEST_GEN_FILES = socket nettest
17TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any
18TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
19TEST_GEN_FILES += udpgso udpgso_bench_tx udpgso_bench_rx ip_defrag
20TEST_GEN_FILES += so_txtime ipv6_flowlabel ipv6_flowlabel_mgr
21TEST_GEN_FILES += tcp_fastopen_backup_key
22TEST_GEN_FILES += fin_ack_lat
19TEST_PROGS_EXTENDED := in_netns.sh
20TEST_GEN_FILES = socket nettest
21TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any
22TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
23TEST_GEN_FILES += udpgso udpgso_bench_tx udpgso_bench_rx ip_defrag
24TEST_GEN_FILES += so_txtime ipv6_flowlabel ipv6_flowlabel_mgr
25TEST_GEN_FILES += tcp_fastopen_backup_key
26TEST_GEN_FILES += fin_ack_lat
27TEST_GEN_FILES += reuseaddr_ports_exhausted
28TEST_GEN_FILES += hwtstamp_config rxtimestamp timestamping txtimestamp
23TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
24TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
25
26KSFT_KHDR_INSTALL := 1
27include ../lib.mk
28
29$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma
30$(OUTPUT)/tcp_mmap: LDLIBS += -lpthread
31$(OUTPUT)/tcp_inq: LDLIBS += -lpthread
29TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
30TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
31
32KSFT_KHDR_INSTALL := 1
33include ../lib.mk
34
35$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma
36$(OUTPUT)/tcp_mmap: LDLIBS += -lpthread
37$(OUTPUT)/tcp_inq: LDLIBS += -lpthread