From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 0AD49A04DB;
	Mon, 16 Nov 2020 08:24:57 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 7D8F4323E;
	Mon, 16 Nov 2020 08:24:54 +0100 (CET)
Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com
 [66.111.4.221]) by dpdk.org (Postfix) with ESMTP id 39FFD2BF1
 for <dev@dpdk.org>; Mon, 16 Nov 2020 08:24:53 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailnew.nyi.internal (Postfix) with ESMTP id D20BC5803F7;
 Mon, 16 Nov 2020 02:24:51 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Mon, 16 Nov 2020 02:24:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm2; bh=
 TSQW2qZ5OVqgb0Q7ZsoFG1wT6p5MUT6JCTe5fwPFQ7M=; b=JQOQi5OJ19xodmMt
 tOda6Qj3cNGKQQuRy3iq+ObFindefFu81nicTHr1zCH6w8H7SspH+CewHMS9E141
 jaWR4oACagMH8qv0Ssf+UnqSw7yy/2HAHOk8Dp7Jx26dRLdzGf7QkYSZPutopCmt
 J1Zp64Ia+SAOcERYX5BerF7zPImAzl7MXnvYZbYdBoJrqA4mX293Z8I9olbrQZCA
 WYlX2rbmlO7LIgF9aqoCPCO6X6tslS3trt79AL4R6xhyxZClAGcKwZHF0oMhKE9L
 JjvXrmoUshlK/OaLv32nF54pTLB2+1EfQOFALjzl+7Njn35N6e6Sr8O+vGWJ8fVG
 P1zo6Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; bh=TSQW2qZ5OVqgb0Q7ZsoFG1wT6p5MUT6JCTe5fwPFQ
 7M=; b=cJ2Qc6RApbMBcsivdFGwmoaXKvF3CyLcvRw3KaWkgxLOD747p0YTUekqv
 h9VsLBOqY1f6JrQOKx/0ETgdt1//YzG1IyNyyr1Ovis5EXvt5FKrW3CVFOl1AnHI
 e+2MrvBB8YiKeZb3JqhzuklSDHM67uycH3huf3O5CMJoSEgIQkAa0iIKBa1A/UTt
 zYYEX5cYQIzP/b21nwdLBQaQQx4mQaz2zTLY6lSYxqRnNd3pFSCfQAGfaBNEX3zp
 X4lTGsW8ZqqDgYOIjXV4ulPOSo3XmXaM4mzlYPs6iSH590ShMEAj5kXL2GBCa67I
 cgtTn/MrIuCk/KjNz6JzmyWHD7OfQ==
X-ME-Sender: <xms:QymyX89xf6_w9z5tf1qbkavDzKuPjlO81EvcN3Hl-mjMNuQVsHJsDQ>
 <xme:QymyX0uLTe4JRsGjDcN9fdc0IXPwVnRn4BlTvBVN0-tMErSzJnJfaa5UFoNwHFPxo
 5SygbcegVGpKHPQrA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeftddguddtlecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpeeuheeuuedvgfegffdtieelgfdtgffgjeefheevkeeigedvudei
 iedutdeuudefueenucffohhmrghinhepuggvthgvtghtihhonhdrshhonecukfhppeejje
 drudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep
 mhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:QymyXyAJroymV2TTCO4TSffweVb4uoBetxLoWtq9yDudNPjvrbMSXA>
 <xmx:QymyX8cOsLDye5rkZEjFp3y2V_n2TH4mPzgPxMMgepxEfxKiy1HLkQ>
 <xmx:QymyXxPZ9NV40-1gbHXr5Qbru2RjO1a7nBlIylzL4ReTeWl89VlkMw>
 <xmx:QymyX0pvEqw938FsGEN-f64fQpa71Q6ZvvTex3yR0uvkw6e2YNf2pQ>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 9CEC13280060;
 Mon, 16 Nov 2020 02:24:49 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Juraj =?utf-8?B?TGlua2XFoQ==?= <juraj.linkes@pantheon.tech>
Cc: bruce.richardson@intel.com, Ruifeng.Wang@arm.com,
 Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com, vcchunga@amazon.com,
 Dharmik.Thakkar@arm.com, jerinjacobk@gmail.com, hemant.agrawal@nxp.com,
 ajit.khaparde@broadcom.com, ferruh.yigit@intel.com, dev@dpdk.org
Date: Mon, 16 Nov 2020 08:24:48 +0100
Message-ID: <6632500.QiOchURiYm@thomas>
In-Reply-To: <1605277875-13625-10-git-send-email-juraj.linkes@pantheon.tech>
References: <1605267483-13167-1-git-send-email-juraj.linkes@pantheon.tech>
 <1605277875-13625-1-git-send-email-juraj.linkes@pantheon.tech>
 <1605277875-13625-10-git-send-email-juraj.linkes@pantheon.tech>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
Subject: Re: [dpdk-dev] [PATCH v12 09/14] build: optional NUMA and cpu
	counts detection
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

13/11/2020 15:31, Juraj Linke=C5=A1:
> +option('max_lcores', type: 'integer', value: 0,
> +	description: 'maximum number of cores/threads supported by EAL. Set to =
positive integer to overwrite per-arch or cross-compilation defaults. Set t=
o -1 to detect the number of cores on the build machine.')
> +option('max_numa_nodes', type: 'integer', value: 0,
> +	description: 'maximum number of NUMA nodes supported by EAL. Set to pos=
itive integer to overwrite per-arch or cross-compilation defaults. Set to -=
1 to detect the number of numa nodes on the build machine.')

=46irst comment: I don't like having so long description.
Second: I don't understand.

It is said the default value is 0 so I expect it means automatic detection.
But later it is said -1 is for detection. So ?