patch 'test/bpf: fix unsupported instructions in ELF load test' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:03:19 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/23/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/76a4e65d1a8ac9b9d65727c9983555261e9e3331
Thanks.
Kevin
---
>From 76a4e65d1a8ac9b9d65727c9983555261e9e3331 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu, 5 Mar 2026 09:51:04 -0800
Subject: [PATCH] test/bpf: fix unsupported instructions in ELF load test
[ upstream commit 78a657c0a5d4fea6196dd0040e1b9e545bcb769a ]
The DPDK BPF library only handles the base BPF instructions.
It does not handle JMP32 which would cause the bpf_elf_load
test to fail on clang 20 or later.
Bugzilla ID: 1844
Fixes: cf1e03f881af ("test/bpf: add ELF loading")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Marat Khalili <marat.khalili at huawei.com>
---
app/test/bpf/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/bpf/meson.build b/app/test/bpf/meson.build
index aaecfa7018..91c1b434f8 100644
--- a/app/test/bpf/meson.build
+++ b/app/test/bpf/meson.build
@@ -25,5 +25,6 @@ endif
# BPF compiler flags
-bpf_cflags = [ '-O2', '-target', 'bpf', '-g', '-c']
+# At present: DPDK BPF does not support v3 or later
+bpf_cflags = [ '-O2', '-target', 'bpf', '-mcpu=v2', '-g', '-c']
# Enable test in test_bpf.c
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:09.393666739 +0000
+++ 0081-test-bpf-fix-unsupported-instructions-in-ELF-load-te.patch 2026-03-19 10:01:07.132844630 +0000
@@ -1 +1 @@
-From 78a657c0a5d4fea6196dd0040e1b9e545bcb769a Mon Sep 17 00:00:00 2001
+From 76a4e65d1a8ac9b9d65727c9983555261e9e3331 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 78a657c0a5d4fea6196dd0040e1b9e545bcb769a ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list