[dpdk-stable] patch 'devtools: add libelf dependency to build test' has been queued to LTS release 18.11.2
Kevin Traynor
ktraynor at redhat.com
Wed Apr 10 18:43:31 CEST 2019
Hi,
FYI, your patch has been queued to LTS release 18.11.2
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/16/19. 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.
Thanks.
Kevin Traynor
---
>From e3ae4e165d1229fe58dd85dc46c576d7a993b43f Mon Sep 17 00:00:00 2001
From: Thomas Monjalon <thomas at monjalon.net>
Date: Tue, 12 Feb 2019 23:10:39 +0100
Subject: [PATCH] devtools: add libelf dependency to build test
[ upstream commit 814ad2a9bc0bbdbad9e4ca59728f9c0323edc513 ]
The option CONFIG_RTE_LIBRTE_BPF_ELF was never enabled
with test-build.sh.
It is fixed with the environment variable DPDK_DEP_ELF.
Fixes: 5dba93ae5f2d ("bpf: add ability to load eBPF program from ELF object file")
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
devtools/test-build.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devtools/test-build.sh b/devtools/test-build.sh
index 42f4ad003..ace52a776 100755
--- a/devtools/test-build.sh
+++ b/devtools/test-build.sh
@@ -10,4 +10,5 @@ default_path=$PATH
# - DPDK_DEP_ARCHIVE
# - DPDK_DEP_CFLAGS
+# - DPDK_DEP_ELF (y/[n])
# - DPDK_DEP_ISAL (y/[n])
# - DPDK_DEP_JSON (y/[n])
@@ -97,4 +98,5 @@ reset_env ()
unset DPDK_DEP_ARCHIVE
unset DPDK_DEP_CFLAGS
+ unset DPDK_DEP_ELF
unset DPDK_DEP_ISAL
unset DPDK_DEP_JSON
@@ -187,4 +189,6 @@ config () # <directory> <target> <options>
test -z "$LIBMUSDK_PATH" || \
sed -ri 's,(MVNETA_PMD=)n,\1y,' $1/.config
+ test "$DPDK_DEP_ELF" != y || \
+ sed -ri 's,(BPF_ELF=)n,\1y,' $1/.config
test -z "$DPDK_DEP_JSON" || \
sed -ri 's,(TELEMETRY=)n,\1y,' $1/.config
--
2.20.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2019-04-10 14:06:09.753080892 +0100
+++ 0023-devtools-add-libelf-dependency-to-build-test.patch 2019-04-10 14:06:07.842294747 +0100
@@ -1,14 +1,15 @@
-From 814ad2a9bc0bbdbad9e4ca59728f9c0323edc513 Mon Sep 17 00:00:00 2001
+From e3ae4e165d1229fe58dd85dc46c576d7a993b43f Mon Sep 17 00:00:00 2001
From: Thomas Monjalon <thomas at monjalon.net>
Date: Tue, 12 Feb 2019 23:10:39 +0100
Subject: [PATCH] devtools: add libelf dependency to build test
+[ upstream commit 814ad2a9bc0bbdbad9e4ca59728f9c0323edc513 ]
+
The option CONFIG_RTE_LIBRTE_BPF_ELF was never enabled
with test-build.sh.
It is fixed with the environment variable DPDK_DEP_ELF.
Fixes: 5dba93ae5f2d ("bpf: add ability to load eBPF program from ELF object file")
-Cc: stable at dpdk.org
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
More information about the stable
mailing list