From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 770F7A00C2; Tue, 25 Jan 2022 11:08:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5762B4290C; Tue, 25 Jan 2022 11:08:32 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 986ED4290A for ; Tue, 25 Jan 2022 11:08:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 7197213C68C; Tue, 25 Jan 2022 11:08:30 +0100 (CET) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sbIZJ3e_1FXN; Tue, 25 Jan 2022 11:08:29 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id BF53313C680; Tue, 25 Jan 2022 11:08:28 +0100 (CET) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, bruce.richardson@intel.com, Honnappa.Nagarahalli@arm.com, Ruifeng.Wang@arm.com, ferruh.yigit@intel.com, christian.ehrhardt@canonical.com, stephen@networkplumber.org Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v2] config/arm: add armv7 native config Date: Tue, 25 Jan 2022 11:08:28 +0100 Message-Id: <1643105308-26026-1-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1637232351-21856-1-git-send-email-juraj.linkes@pantheon.tech> References: <1637232351-21856-1-git-send-email-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Armv7 native build fails with this error: ../config/meson.build:364:1: ERROR: Problem encountered: Number of CPU cores not specified. This is because RTE_MAX_LCORE is not set. We also need to set RTE_MAX_NUMA_NODES in armv7 native builds. Fixes: 8ef09fdc506b ("build: add optional NUMA and CPU counts detection") Signed-off-by: Juraj Linkeš Acked-by: Ruifeng Wang --- config/arm/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index c3a3f2faaf..a0e91c0f6b 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -434,6 +434,8 @@ if dpdk_conf.get('RTE_ARCH_32') # armv7 build dpdk_conf.set('RTE_ARCH_ARMv7', true) dpdk_conf.set('RTE_ARCH', 'armv7') + dpdk_conf.set('RTE_MAX_LCORE', 128) + dpdk_conf.set('RTE_MAX_NUMA_NODES', 1) # the minimum architecture supported, armv7-a, needs the following, machine_args += '-mfpu=neon' endif -- 2.20.1