From 4ba2b326284765e942044db13a7f0dae702bec93 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 09:10:00 +0200 Subject: Adding upstream version 1.3.1. Signed-off-by: Daniel Baumann --- xdp-bench/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 xdp-bench/Makefile (limited to 'xdp-bench/Makefile') 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 + -- cgit v1.2.3