selftests: net: name bpf objects consistently and simplify Makefile
authorJakub Kicinski <kuba@kernel.org>
Tue, 23 Apr 2024 18:35:41 +0000 (11:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Apr 2024 03:15:45 +0000 (20:15 -0700)
commit6b88ce902f0bdcb3694a6ceddc8b3d0b40db3772
treefe004b46fad8cbb08507761b6985ee10e3a8d003
parent2fa809b90617817fec2802c7cfaeb2c66fd04c2b
selftests: net: name bpf objects consistently and simplify Makefile

The BPF sources moved with bpf_offload.py have a suffix of .bpf.c
which seems to be useful convention. Rename the 2 other BPF sources
we had. Use wildcard in the Makefile, since we can match all those
files easily now.

Link: https://lore.kernel.org/r/20240423183542.3807234-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/nat6to4.bpf.c [new file with mode: 0644]
tools/testing/selftests/net/nat6to4.c [deleted file]
tools/testing/selftests/net/udpgro.sh
tools/testing/selftests/net/udpgro_bench.sh
tools/testing/selftests/net/udpgro_frglist.sh
tools/testing/selftests/net/udpgro_fwd.sh
tools/testing/selftests/net/veth.sh
tools/testing/selftests/net/xdp_dummy.bpf.c [new file with mode: 0644]
tools/testing/selftests/net/xdp_dummy.c [deleted file]