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 C2DE2A0C41; Thu, 18 Nov 2021 11:46:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C748D40696; Thu, 18 Nov 2021 11:45:57 +0100 (CET) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 74BEC40696 for ; Thu, 18 Nov 2021 11:45:56 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 7E9CC10DD99; Thu, 18 Nov 2021 11:45:55 +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 z7pMJq99lLsi; Thu, 18 Nov 2021 11:45:52 +0100 (CET) Received: from service-node1.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id E9D0710DD97; Thu, 18 Nov 2021 11:45:51 +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 Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [PATCH v1] config/arm: add armv7 native config Date: Thu, 18 Nov 2021 11:45:51 +0100 Message-Id: <1637232351-21856-1-git-send-email-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.7.4 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 Arvm7 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š --- config/arm/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/arm/meson.build b/config/arm/meson.build index 213324d262..57980661b2 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -432,6 +432,8 @@ if dpdk_conf.get('RTE_ARCH_32') else # armv7 build dpdk_conf.set('RTE_ARCH_ARMv7', true) + dpdk_conf.set('RTE_MAX_LCORE', 128) + dpdk_conf.set('RTE_MAX_NUMA_NODES', 8) # the minimum architecture supported, armv7-a, needs the following, machine_args += '-mfpu=neon' endif -- 2.20.1