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 511F9A0C46; Tue, 31 Aug 2021 10:01:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3660F40141; Tue, 31 Aug 2021 10:01:34 +0200 (CEST) Received: from mailgw01.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id BEAF640041 for ; Tue, 31 Aug 2021 10:01:32 +0200 (CEST) Received: from mailgw01.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw01.pantheon.sk (Proxmox) with ESMTP id 448C4201AFF; Tue, 31 Aug 2021 09:54:22 +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=6c+BQjvPDT8GM8c2CYA8 pB+gao7xinikuNS8EIYc5Pg=; b=Dl1C9GjNCAE/rpGymaFj2ZDHYsnVov0Gk2O4 mjzu+++YU1wBxRlUNB7UdeYZlNyYr++TXO9QJ/2ZK3uyT/h8Xgubg5w9EdiBnrcl 0MtF4FCvRNbdBIF+gvd7LmDE8hv2hcGXSNbxAFNxgZ6mCiZ3JJFAFdqMPquHwpC+ oYY0GSFeNw/4K610v4EjBb3Is3cgj3faIoHKRxm13qIluql6GTGuBSyQDz2U2Hiu Y2uktEUTA1lxve/cHMRw95qqa8RPWPg6+par9zP0DJvKag0vzoYhotPVfrpdzV4g XCvoIhMJVLE6DLErcbmjUJ7u72qWq5xPM2wj4sVVXQTSgVR9BA== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Piotr Kubaj CC: David Christensen , "thomas@monjalon.net" , "david.marchand@redhat.com" , "bruce.richardson@intel.com" , "Honnappa.Nagarahalli@arm.com" , "Ruifeng.Wang@arm.com" , "ferruh.yigit@intel.com" , "jerinjacobk@gmail.com" , "jerinj@marvell.com" , "stephen@networkplumber.org" , "dev@dpdk.org" Thread-Topic: [PATCH v5] build: optional NUMA and cpu counts detection Thread-Index: AQHXfjDqTZOJARobPUGsWlcRwuoN4atgOwGggACTh4CAANZGUIArQtUAgACVB+A= Date: Tue, 31 Aug 2021 07:54:16 +0000 Message-ID: References: <1624964105-6525-1-git-send-email-juraj.linkes@pantheon.tech> <1626872655-27496-1-git-send-email-juraj.linkes@pantheon.tech> <8198751beeaf4a94acc951b1c1d4fba4@pantheon.tech> <93e6576242a24380b83d8ca82359c28e@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 v5] 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogUGlvdHIgS3ViYWogPHBr dWJhakBhbm9uZ290aC5wbD4NCj4gU2VudDogVHVlc2RheSwgQXVndXN0IDMxLCAyMDIxIDI6NTUg QU0NCj4gVG86IEp1cmFqIExpbmtlxaEgPGp1cmFqLmxpbmtlc0BwYW50aGVvbi50ZWNoPg0KPiBD YzogRGF2aWQgQ2hyaXN0ZW5zZW4gPGRyY0BsaW51eC52bmV0LmlibS5jb20+OyB0aG9tYXNAbW9u amFsb24ubmV0Ow0KPiBkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tOyBicnVjZS5yaWNoYXJkc29u QGludGVsLmNvbTsNCj4gSG9ubmFwcGEuTmF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