Makefile (7be49d242b8099a2489a6777dcfcb69f2e849fae) Makefile (c08e8baea78e472383d6b295bb8db2132068c358)
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

--- 8 unchanged lines hidden (view full) ---

17TEST_PROGS += reuseaddr_ports_exhausted.sh
18TEST_PROGS += txtimestamp.sh
19TEST_PROGS += vrf-xfrm-tests.sh
20TEST_PROGS += rxtimestamp.sh
21TEST_PROGS += devlink_port_split.py
22TEST_PROGS += drop_monitor_tests.sh
23TEST_PROGS += vrf_route_leaking.sh
24TEST_PROGS += bareudp.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

--- 8 unchanged lines hidden (view full) ---

17TEST_PROGS += reuseaddr_ports_exhausted.sh
18TEST_PROGS += txtimestamp.sh
19TEST_PROGS += vrf-xfrm-tests.sh
20TEST_PROGS += rxtimestamp.sh
21TEST_PROGS += devlink_port_split.py
22TEST_PROGS += drop_monitor_tests.sh
23TEST_PROGS += vrf_route_leaking.sh
24TEST_PROGS += bareudp.sh
25TEST_PROGS += amt.sh
25TEST_PROGS += unicast_extensions.sh
26TEST_PROGS += udpgro_fwd.sh
27TEST_PROGS += veth.sh
28TEST_PROGS += ioam6.sh
29TEST_PROGS += gro.sh
30TEST_PROGS += gre_gso.sh
26TEST_PROGS += unicast_extensions.sh
27TEST_PROGS += udpgro_fwd.sh
28TEST_PROGS += veth.sh
29TEST_PROGS += ioam6.sh
30TEST_PROGS += gro.sh
31TEST_PROGS += gre_gso.sh
31TEST_PROGS += cmsg_so_mark.sh
32TEST_PROGS_EXTENDED := in_netns.sh
33TEST_GEN_FILES = socket nettest
34TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any
35TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
36TEST_GEN_FILES += udpgso udpgso_bench_tx udpgso_bench_rx ip_defrag
37TEST_GEN_FILES += so_txtime ipv6_flowlabel ipv6_flowlabel_mgr so_netns_cookie
38TEST_GEN_FILES += tcp_fastopen_backup_key
39TEST_GEN_FILES += fin_ack_lat
40TEST_GEN_FILES += reuseaddr_ports_exhausted
41TEST_GEN_FILES += hwtstamp_config rxtimestamp timestamping txtimestamp
42TEST_GEN_FILES += ipsec
43TEST_GEN_FILES += ioam6_parser
44TEST_GEN_FILES += gro
45TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
46TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
47TEST_GEN_FILES += toeplitz
32TEST_PROGS_EXTENDED := in_netns.sh
33TEST_GEN_FILES = socket nettest
34TEST_GEN_FILES += psock_fanout psock_tpacket msg_zerocopy reuseport_addr_any
35TEST_GEN_FILES += tcp_mmap tcp_inq psock_snd txring_overwrite
36TEST_GEN_FILES += udpgso udpgso_bench_tx udpgso_bench_rx ip_defrag
37TEST_GEN_FILES += so_txtime ipv6_flowlabel ipv6_flowlabel_mgr so_netns_cookie
38TEST_GEN_FILES += tcp_fastopen_backup_key
39TEST_GEN_FILES += fin_ack_lat
40TEST_GEN_FILES += reuseaddr_ports_exhausted
41TEST_GEN_FILES += hwtstamp_config rxtimestamp timestamping txtimestamp
42TEST_GEN_FILES += ipsec
43TEST_GEN_FILES += ioam6_parser
44TEST_GEN_FILES += gro
45TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
46TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
47TEST_GEN_FILES += toeplitz
48TEST_GEN_FILES += cmsg_so_mark
49
50TEST_FILES := settings
51
52KSFT_KHDR_INSTALL := 1
53include ../lib.mk
54
55$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma
56$(OUTPUT)/tcp_mmap: LDLIBS += -lpthread
57$(OUTPUT)/tcp_inq: LDLIBS += -lpthread
48
49TEST_FILES := settings
50
51KSFT_KHDR_INSTALL := 1
52include ../lib.mk
53
54$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma
55$(OUTPUT)/tcp_mmap: LDLIBS += -lpthread
56$(OUTPUT)/tcp_inq: LDLIBS += -lpthread