xskxceiver and xdp_hw_metadata need bpftool to generate their BPF skeletons, so they are skipped when it is missing or does not work. The kernel test robot builds selftests without bpftool and reports the warnings about it as new build regressions in both net-next and bpf-next. Skipping the two tools is expected there, so drop the warnings. Fixes: e8f9d8237988 ("selftests: xsk: move the AF_XDP test suite to selftests/net") Fixes: d01fb5c81130 ("selftests: net: move xdp_hw_metadata from selftests/bpf") Reported-by: kernel test robot Closes: https://lore.kernel.org/r/202611140904.io658Rze-lkp@intel.com/ Closes: https://lore.kernel.org/r/202611141124.V0t6dlFo-lkp@intel.com/ Signed-off-by: Maciej Fijalkowski --- Based on the bpf-net-xsk-move tag so it can go to net-next and bpf-next through another shared branch, as Alexei asked: https://lore.kernel.org/netdev/CAADnVQK=Y1CY=m0gGegLB-jm9S1cUcEcKUuNx33PT2W-tdMCuw@mail.gmail.com/ tools/testing/selftests/net/Makefile | 2 -- tools/testing/selftests/net/lib/Makefile | 2 -- 2 files changed, 4 deletions(-) diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile index 83882735229d..a7f8b2c0b763 100644 --- a/tools/testing/selftests/net/Makefile +++ b/tools/testing/selftests/net/Makefile @@ -231,8 +231,6 @@ BPFTOOL ?= bpftool HAS_BPFTOOL := $(shell $(BPFTOOL) version >/dev/null 2>&1 && echo y) ifeq ($(HAS_BPFTOOL),y) COND_GEN_FILES += xdp_hw_metadata -else -$(warning excluding xdp_hw_metadata, bpftool not installed or not working) endif TEST_GEN_FILES += $(COND_GEN_FILES) diff --git a/tools/testing/selftests/net/lib/Makefile b/tools/testing/selftests/net/lib/Makefile index 0a6cd733883d..5765625ae7f7 100644 --- a/tools/testing/selftests/net/lib/Makefile +++ b/tools/testing/selftests/net/lib/Makefile @@ -10,8 +10,6 @@ BPFTOOL ?= bpftool HAS_BPFTOOL := $(shell $(BPFTOOL) version >/dev/null 2>&1 && echo y) ifeq ($(HAS_BPFTOOL),y) COND_GEN_FILES += xskxceiver -else -$(warning excluding xskxceiver, bpftool not installed or not working) endif TEST_FILES := \ base-commit: d01fb5c8113055e3d1b7f573261ae6a30abf4e53 -- 2.43.0