summaryrefslogtreecommitdiffstats
path: root/xdp-bench/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:10:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 07:10:00 +0000
commit4ba2b326284765e942044db13a7f0dae702bec93 (patch)
treecbdfaec33eed4f3a970c54cd10e8ddfe3003b3b1 /xdp-bench/Makefile
parentInitial commit. (diff)
downloadxdp-tools-4ba2b326284765e942044db13a7f0dae702bec93.tar.xz
xdp-tools-4ba2b326284765e942044db13a7f0dae702bec93.zip
Adding upstream version 1.3.1.upstream/1.3.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xdp-bench/Makefile')
-rw-r--r--xdp-bench/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/xdp-bench/Makefile b/xdp-bench/Makefile
new file mode 100644
index 0000000..5936277
--- /dev/null
+++ b/xdp-bench/Makefile
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+
+XDP_TARGETS := xdp_redirect_basic.bpf xdp_redirect_cpumap.bpf xdp_redirect_devmap.bpf \
+ xdp_redirect_devmap_multi.bpf xdp_basic.bpf
+BPF_SKEL_TARGETS := $(XDP_TARGETS)
+
+# Don't install skeleton object files
+XDP_OBJ_INSTALL :=
+
+TOOL_NAME := xdp-bench
+MAN_PAGE := xdp-bench.8
+TEST_FILE := tests/test-xdp-bench.sh
+USER_TARGETS := xdp-bench
+USER_EXTRA_C := xdp_redirect_basic.c xdp_redirect_cpumap.c xdp_redirect_devmap.c \
+ xdp_redirect_devmap_multi.c xdp_basic.c
+EXTRA_USER_DEPS := xdp-bench.h
+
+LIB_DIR = ../lib
+
+include $(LIB_DIR)/common.mk
+