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 49E16A0548; Fri, 16 Apr 2021 14:43:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C63D7141D74; Fri, 16 Apr 2021 14:43:42 +0200 (CEST) Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id A28A6141C3F for ; Fri, 16 Apr 2021 14:43:41 +0200 (CEST) Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw02.pantheon.sk (Proxmox) with ESMTP id 4589E183448; Fri, 16 Apr 2021 14:43:41 +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=rSpeQjnTWA/No7Ttp0he Kt12z8ob0t61/H38Abb2pfM=; b=h3F/2RQuH5JOoJmLZvqL1LKlaJjHdC18NIaG AUOslX86kqZXwRlCNxH0zewThwsfifbB0h267bmpnjMy2mGiSbjBbyZT3tftIXOI 6sMEFgZSj0aTw0Ilbf7f/E3H1928IcRuCRfHo37eVarvT8IsRV7HmvkeiYbvS0lO Y1jpZya/WsexZg9gXtSHS5LwjTBfjGZ/odG/RlToTxbJztS+XdE+rbDVZVhA0nEo svmOkWd6VbvEG0LWnk2xr215BGUaggKBV1Djg36MvMeXN2MJyGzYC8pkK0Q5HcCD LqbcGEQlyw9hZe62AUvcJeOJB8XVn6eQ5Eq5xeh6BYVrvXVQCA== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: David Christensen , "dev@dpdk.org" CC: "thomas@monjalon.net" , "david.marchand@redhat.com" , "bruce.richardson@intel.com" , "Honnappa.Nagarahalli@arm.com" Thread-Topic: [dpdk-dev] [PATCH v2] build: optional NUMA and cpu counts detection Thread-Index: AQHXJg0szJCyBzKY8EqIfYL8/FL1iaqeVICAgBjaZbA= Date: Fri, 16 Apr 2021 12:43:39 +0000 Message-ID: References: <1605876920-31394-1-git-send-email-juraj.linkes@pantheon.tech> <1617181602-18293-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 v2] 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" SSBkaWRuJ3Qgbm90aWNlIHRoaXMgZS1tYWlsLCBzaW5jZSBpdCB3YXMgc2VudCBqdXN0IHRvIGRl dkBkcGRrLm9yZyBhbmQgbm90IHRvIG1lIGV4cGxpY2l0bHksIHdoaWNoIGxlZnQgaXQgdW5ub3Rp Y2VkIGJ5IG15IGZpbHRlcnMsIHVuZm9ydHVuYXRlbHkuDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxmIE9m IERhdmlkIENocmlzdGVuc2VuDQo+IFNlbnQ6IFdlZG5lc2RheSwgTWFyY2ggMzEsIDIwMjEgOTow NyBQTQ0KPiBUbzogZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRD SCB2Ml0gYnVpbGQ6IG9wdGlvbmFsIE5VTUEgYW5kIGNwdSBjb3VudHMNCj4gZGV0ZWN0aW9uDQo+ IA0KPiANCj4gDQo+IE9uIDMvMzEvMjEgMjow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