From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1E36C55ABD for ; Mon, 16 Nov 2020 07:24:57 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id C391A2224F for ; Mon, 16 Nov 2020 07:24:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C391A2224F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monjalon.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org 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 ; 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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeftddguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeeuheeuuedvgfegffdtieelgfdtgffgjeefheevkeeigedvudei iedutdeuudefueenucffohhmrghinhepuggvthgvtghtihhonhdrshhonecukfhppeejje drudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: 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 To: Juraj =?utf-8?B?TGlua2XFoQ==?= 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 ?