mbox series

[net-next,0/2] selftests: net: extract BPF building logic from the Makefile

Message ID 20240423183542.3807234-1-kuba@kernel.org (mailing list archive)
Headers show
Series selftests: net: extract BPF building logic from the Makefile | expand

Message

Jakub Kicinski April 23, 2024, 6:35 p.m. UTC
This has been sitting in my tree for a while. I will soon add YNL/libynl
support for networking selftests. This prompted a small cleanup of
the selftest makefile for net/. We don't want to be piling logic
for each library in there. YNL will get its own .mk file which can
be included. Do the same for the BPF building section, already.

No funcional changes here, just a code move and small rename.

Jakub Kicinski (2):
  selftests: net: name bpf objects consistently and simplify Makefile
  selftests: net: extract BPF building logic from the Makefile

 tools/testing/selftests/net/Makefile          | 60 +------------------
 tools/testing/selftests/net/bpf.mk            | 53 ++++++++++++++++
 .../net/{nat6to4.c => nat6to4.bpf.c}          |  0
 tools/testing/selftests/net/udpgro.sh         |  2 +-
 tools/testing/selftests/net/udpgro_bench.sh   |  2 +-
 tools/testing/selftests/net/udpgro_frglist.sh |  8 +--
 tools/testing/selftests/net/udpgro_fwd.sh     |  2 +-
 tools/testing/selftests/net/veth.sh           |  2 +-
 .../net/{xdp_dummy.c => xdp_dummy.bpf.c}      |  0
 9 files changed, 64 insertions(+), 65 deletions(-)
 create mode 100644 tools/testing/selftests/net/bpf.mk
 rename tools/testing/selftests/net/{nat6to4.c => nat6to4.bpf.c} (100%)
 rename tools/testing/selftests/net/{xdp_dummy.c => xdp_dummy.bpf.c} (100%)

Comments

patchwork-bot+netdevbpf@kernel.org April 25, 2024, 3:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 23 Apr 2024 11:35:40 -0700 you wrote:
> This has been sitting in my tree for a while. I will soon add YNL/libynl
> support for networking selftests. This prompted a small cleanup of
> the selftest makefile for net/. We don't want to be piling logic
> for each library in there. YNL will get its own .mk file which can
> be included. Do the same for the BPF building section, already.
> 
> No funcional changes here, just a code move and small rename.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] selftests: net: name bpf objects consistently and simplify Makefile
    https://git.kernel.org/netdev/net-next/c/6b88ce902f0b
  - [net-next,2/2] selftests: net: extract BPF building logic from the Makefile
    https://git.kernel.org/netdev/net-next/c/3f584c211d8c

You are awesome, thank you!