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 25E5AA00C2; Fri, 31 Dec 2021 18:23:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A13C94067E; Fri, 31 Dec 2021 18:23:38 +0100 (CET) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mails.dpdk.org (Postfix) with ESMTP id A043040140 for ; Fri, 31 Dec 2021 18:23:37 +0100 (CET) Received: by mail-pf1-f172.google.com with SMTP id t123so23966848pfc.13 for ; Fri, 31 Dec 2021 09:23:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Aekpn5bXXS0HQ8Ju3sNc6zk1pwf8lQuY/Lj+HuowDT4=; b=EEBeFduCR4itE9+nCdae26P9P6QXhXyjHXJ0i065dzwhl5MEdoKDFJLpTI8UmZ6nLy dNfV7QDT6EjPK55Y0ebGN+4Yhp5y/ZQoKBagVAaCg693o+HffjX1UU9cXxIFRQ3DiSmT JmD9LKRKAQAhUSVA3e84r/0TxUupfHofubh0Qz7lml0aslAOnDN8u6ZmU9vmYJ5jYc+W e+NxxAtshVPE/A90h8Di8063iJlHw+6TGJnborcOrNYPON2/N4H5debUHX7UYffWEKe6 PyB1KNi/aynSn7pysQDMiNObqyDvUNYa4kOy5xLhqKoNUdqtEX5wQGbS4/OYlKgOMJ4n 0tHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Aekpn5bXXS0HQ8Ju3sNc6zk1pwf8lQuY/Lj+HuowDT4=; b=KdqZttPp9cZLlWCTYNCK0W25BSwdOI7vyH9f3amfRElsc9iCNmtA/yC87rVgEiSY+z /1+A2wAOy1Odq2wvdg/wtnps4NlnFab8IhWTJQHQZ6g4ZZU9AHzQR/Hl5iwsVx0FXf6/ NzNf2hnLP2s+HR9/jA12bOf1m9mP1bynQqAY5pLSv9LO++Sw9t+0aqMRq9tRgT1P/ClG kdLZDymtNHuHDtQnWktFSQz2qowYl5G4fpUXbjeo9KpUDRw3cOXOPr9zUgdKvRm0WZFU jVFnJjq1IDqX6jZZX/JUXyUtLvtd+4kOw9vlqPH6FXwEMGT7VJ9NEasnW/YCh0Rne/aR 9BWw== X-Gm-Message-State: AOAM532PS7TvsRWlPckEsvrT6jdshx0G6pzYfJ7MLxOJTjvnoR5G47t9 VwHijgRS6dJP7tCzu/xEvWMokQ== X-Google-Smtp-Source: ABdhPJzS6WvIDlksCyqqrCxxNImBzA18IAGHnDi+xPu84PeGfb5ad9tdZiKfIpz2J6J7mlBKHzf+CQ== X-Received: by 2002:a63:b942:: with SMTP id v2mr1676149pgo.407.1640971416629; Fri, 31 Dec 2021 09:23:36 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id u11sm29405036pfi.10.2021.12.31.09.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Dec 2021 09:23:36 -0800 (PST) Date: Fri, 31 Dec 2021 09:23:33 -0800 From: Stephen Hemminger To: Juraj =?UTF-8?B?TGlua2XFoQ==?= Cc: 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, dev@dpdk.org Subject: Re: [PATCH v1] config/arm: add armv7 native config Message-ID: <20211231092333.1cf4770e@hermes.local> 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: quoted-printable 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 On Thu, 18 Nov 2021 11:45:51 +0100 Juraj Linke=C5=A1 wrote: > Arvm7 native build fails with this error: > ../config/meson.build:364:1: ERROR: Problem encountered: > Number of CPU cores not specified. >=20 > This is because RTE_MAX_LCORE is not set. We also need to set > RTE_MAX_NUMA_NODES in armv7 native builds. >=20 > Fixes: 8ef09fdc506b ("build: add optional NUMA and CPU counts detection") >=20 > Signed-off-by: Juraj Linke=C5=A1 > --- > config/arm/meson.build | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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) In DPDK 19.11 the ARMv7 config says armv7 does not support NUMA. Pleas set NUMA_NODES to 1