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 1B820A0C50; Fri, 16 Jul 2021 15:53:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D50ED41156; Fri, 16 Jul 2021 15:53:22 +0200 (CEST) Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id A105240DDB for ; Fri, 16 Jul 2021 15:53:20 +0200 (CEST) Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw02.pantheon.sk (Proxmox) with ESMTP id 4D928181B71; Fri, 16 Jul 2021 15:53:20 +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=t242R6hdBqhaVBfMA6EW 7GSSeJtsojeeJv30TrwDHmc=; b=lLO+WPlrKG78Lsq0lAxTG+hcEVPl3W9b/RQf fM8ajPBBcaj4VMHeXB6Tyt5+85k/c/NCQctv0IKxzLDZNS9cFPRYpmddkZkt04iR xJTBZAAPdhDmo+VyEjDNjSYecYujj4wK5dkPr/Ip/U85c760bX2Vjw2gsmo6+KFc qvq/opiO9etOvObpR9G7MKYiOD4qsgnt5r5dCOE71948m6M4l3LJtjhu/rHZ50Be A9nfbIDc3xA968xYQdklzXmOBc8+wXxZ6y/4H2KO8YbkYlNxjNMYSvIDxz+VSrUq SRC4QGwX8y627wCemyzCurc2Y/kGefQ2AG1xn2TjXipjM4Hgow== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: David Christensen , Bruce Richardson CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "Honnappa.Nagarahalli@arm.com" , "Ruifeng.Wang@arm.com" , "ferruh.yigit@intel.com" , "jerinjacobk@gmail.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection Thread-Index: AQHXbNU6oLaSvMtS20itnTSI/leZ7qsquKAAgAr1iDD//+OogIAAl3cAgA+MuFA= Date: Fri, 16 Jul 2021 13:53:18 +0000 Message-ID: References: <1618827522-31828-1-git-send-email-juraj.linkes@pantheon.tech> <1624964105-6525-1-git-send-email-juraj.linkes@pantheon.tech> In-Reply-To: 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] [PATCH v4] build: optional NUMA and cpu counts detection 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 Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGF2aWQgQ2hyaXN0ZW5z ZW4gPGRyY0BsaW51eC52bmV0LmlibS5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEp1bHkgNiwgMjAy MSA4OjExIFBNDQo+IFRvOiBCcnVjZSBSaWNoYXJkc29uIDxicnVjZS5yaWNoYXJkc29uQGludGVs LmNvbT47IEp1cmFqIExpbmtlxaENCj4gPGp1cmFqLmxpbmtlc0BwYW50aGVvbi50ZWNoPg0KPiBD YzogdGhvbWFzQG1vbmphbG9uLm5ldDsgZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbTsNCj4gSG9u bmFwcGEuTmFnYXJhaGFsbGlAYXJtLmNvbTsgUnVpZmVuZy5XYW5nQGFybS5jb207DQo+IGZlcnJ1 aC55aWdpdEBpbnRlbC5jb207IGplcmluamFjb2JrQGdtYWlsLmNvbTsgZGV2QGRwZG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