From: Ruifeng Wang <ruifeng.wang@arm.com>
To: stable@dpdk.org
Cc: christian.ehrhardt@canonical.com, nd@arm.com,
Ruifeng Wang <ruifeng.wang@arm.com>,
Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH 19.11] config: add arch define for Arm
Date: Mon, 28 Feb 2022 15:47:26 +0800 [thread overview]
Message-ID: <20220228074726.1642941-1-ruifeng.wang@arm.com> (raw)
[ upstream commit 9cc217a28310d21fba56e5eceb740b4feb7e0949 ]
As per design document, RTE_ARCH is the name of the architecture.
However, the definition was missing on Arm with meson build.
It impacts applications that refers to this string.
Added for Arm builds.
Fixes: b1d48c41189a ("build: support ARM with meson")
Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>
---
config/arm/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 60f7b0539..c6ad7b6da 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -133,12 +133,14 @@ if not dpdk_conf.get('RTE_ARCH_64')
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 64)
dpdk_conf.set('RTE_ARCH_ARM', 1)
dpdk_conf.set('RTE_ARCH_ARMv7', 1)
+ dpdk_conf.set('RTE_ARCH', 'armv7')
# the minimum architecture supported, armv7-a, needs the following,
# mk/machine/armv7a/rte.vars.mk sets it too
machine_args += '-mfpu=neon'
else
dpdk_conf.set('RTE_CACHE_LINE_SIZE', 128)
dpdk_conf.set('RTE_ARCH_ARM64', 1)
+ dpdk_conf.set('RTE_ARCH', 'armv8')
machine = []
cmd_generic = ['generic', '', '', 'default', '']
--
2.25.1
reply other threads:[~2022-02-28 7:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220228074726.1642941-1-ruifeng.wang@arm.com \
--to=ruifeng.wang@arm.com \
--cc=christian.ehrhardt@canonical.com \
--cc=nd@arm.com \
--cc=stable@dpdk.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).