From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8188DA04B7; Wed, 14 Oct 2020 10:52:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6241F1D54B; Wed, 14 Oct 2020 10:52:14 +0200 (CEST) Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by dpdk.org (Postfix) with ESMTP id C9B861C298 for ; Wed, 14 Oct 2020 10:52:12 +0200 (CEST) Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw02.pantheon.sk (Proxmox) with ESMTP id 7A7F618338F; Wed, 14 Oct 2020 10:52:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=dkim; bh=kFsqA3UkcPzMQVcXJNxT dWZY0L4flGbDqiPiXFPNEdE=; b=tWtheHFmFotDFizvKxsV1H9uDx/XJGLvNlgH lnySrI4YtgqFU6aRXKkeFl96s/Lx0PGzM+PJVIwbm+I9VTp2E5pTErU6sKCXDtSA jPG7mVxOs1pMLjTQK/T/Ware7xlNIKcMgxjL0FdGaejK1Qmna/fkM5n7+5LUHo4k EqAPzxvDLK7qQGqB60vi5WZGh40mSpjR6FSV3N9A0nrsgp4Ondo//lFqVJfr3RXo BF1vRr99vvD6/dvpA/yQ8o2lBTZzLEOQdADsGDiJw/bSmagy0esbSJbb69fylFVX nZ+abL2bO1/UJhOnL+CKtiv5FOX0rAlfaEBIQpQV5cwxMwEOHw== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Bruce Richardson CC: "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" , "dev@dpdk.org" Thread-Topic: [RFC PATCH v2 3/6] build: automatic NUMA and cpu counts detection Thread-Index: AQHWoXDPVViXoABmmkq7PndJsCV+pamVjAiAgAENE+CAAAcIAIAAKdRA Date: Wed, 14 Oct 2020 08:52:12 +0000 Message-ID: References: <1600867161-15673-1-git-send-email-juraj.linkes@pantheon.tech> <1602600882-695-1-git-send-email-juraj.linkes@pantheon.tech> <1602600882-695-4-git-send-email-juraj.linkes@pantheon.tech> <20201013154757.GC1496@bricha3-MOBL.ger.corp.intel.com> <42b8d77b7d764e0789fb74ef2f9401d4@pantheon.tech> <20201014081610.GA1513@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20201014081610.GA1513@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.101.4.10] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [RFC PATCH v2 3/6] build: automatic 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnJ1Y2UgUmljaGFyZHNv biA8YnJ1Y2UucmljaGFyZHNvbkBpbnRlbC5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgT2N0b2Jl ciAxNCwgMjAyMCAxMDoxNiBBTQ0KPiBUbzogSnVyYWogTGlua2XFoSA8anVyYWoubGlua2VzQHBh bnRoZW9uLnRlY2g+DQo+IENjOiBSdWlmZW5nLldhbmdAYXJtLmNvbTsgSG9ubmFwcGEuTmFnYXJh aGFsbGlAYXJtLmNvbTsNCj4gUGhpbC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