summaryrefslogtreecommitdiffstats
path: root/build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch
diff options
context:
space:
mode:
authorfenglei <1579628578@qq.com>2025-01-14 16:50:10 +0800
committerBenoit Ganne <bganne@cisco.com>2025-01-17 16:30:55 +0000
commit38097970c038de6c3c67cb8e1c7209f1df1f24d0 (patch)
treefd333a81a035044a5a972044d383aebf0b5787dc /build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch
parenteaf1059c8bad07268578eac3bdbbb116da0be38b (diff)
af_xdp: fix af_xdp compile waring for clang compiler
Type: fix - add check variable undefine init flags for gcc and clang compiler - disable compile xdp-dump Change-Id: Icd2b81ec5cd5dc66db395a69f8af889635f664e0 Signed-off-by: fenglei <1579628578@qq.com>
Diffstat (limited to 'build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch')
-rw-r--r--build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch b/build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch
new file mode 100644
index 00000000000..f7bfd1af454
--- /dev/null
+++ b/build/external/patches/xdp-tools_1.2.9/0005-xdp-dump-disable-xdp-dump.patch
@@ -0,0 +1,26 @@
+From 8ea104c5c772c176756ce5432d1d71f90c92b3c0 Mon Sep 17 00:00:00 2001
+From: fenglei <1579628578@qq.com>
+Date: Fri, 17 Jan 2025 16:59:02 +0800
+Subject: [PATCH] xdp-dump: disable xdp-dump
+
+Signed-off-by: fenglei <1579628578@qq.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 6a7f575..b445037 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,7 +16,7 @@ endif
+ include version.mk
+ include config.mk
+
+-UTILS := xdp-filter xdp-loader xdp-dump
++UTILS := xdp-filter xdp-loader
+
+ ifneq ($(BPFTOOL),)
+ UTILS += xdp-bench xdp-forward xdp-monitor xdp-trafficgen
+--
+2.43.0
+