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 029ADA04D7; Thu, 3 Sep 2020 08:20:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 394C61C0B2; Thu, 3 Sep 2020 08:20:19 +0200 (CEST) Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by dpdk.org (Postfix) with ESMTP id 476021C0AF for ; Thu, 3 Sep 2020 08:20:18 +0200 (CEST) Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw02.pantheon.sk (Proxmox) with ESMTP id ABEC0182A41; Thu, 3 Sep 2020 08:20:17 +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=b5GhFNC43u8ZFzF92NuB VV1DrrWfPikvfb6RceNQGZ4=; b=fh/lyg0ei6ucApRdo+tsSYhiQnhFMgjdbr4Z 66XQ/ZEvZcZuDIo7BiGdMiv2no+nXCLSRoefQF7zV2c4MbjvzKkN5fJ5eVxyeRoI 4nPvwy1pLDLfnIJ+k16nmjqDGRPnTPiV1M8XBqVBmAdb+3RNoXTDmCEgUGpTBij5 VAwPOFZm3LbFHRqspUH388qduxI7Xgbod3DhzZlM3kBQjssDW0NXYDNfjt8cQY4O y50/tZCEtQJv0AACvuUMOTBcznEQu6A4Lk6H6XEn5kzKuY5z53XYVFIRabsa2nPg dZukMdX8J6TRqUmIcjDyk0WlCBFF7XdvKYdx2uRkn6yaaHfxDQ== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Dharmik Thakkar , Jerin Jacob CC: "thomas@monjalon.net" , dpdk-dev , nd Thread-Topic: [dpdk-dev] [PATCH 2/2] build: find max lcore programmatically Thread-Index: AQHWeyStgtQbhE4/zE2URFE2PF3gn6lJsEIAgAACOYCADMuM0A== Date: Thu, 3 Sep 2020 06:20:17 +0000 Message-ID: References: <20200825211317.8358-1-dharmik.thakkar@arm.com> <20200825211317.8358-2-dharmik.thakkar@arm.com> 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 2/2] build: find max lcore programmatically 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIERoYXJtaWsgVGhha2thcg0KPiBTZW50OiBXZWRuZXNk YXksIEF1Z3VzdCAyNiwgMjAyMCA2OjU2IEFNDQo+IFRvOiBKZXJpbiBKYWNvYiA8amVyaW5qYWNv YmtAZ21haWwuY29tPg0KPiBDYzogdGhvbWFzQG1vbmphbG9uLm5ldDsgZHBkay1kZXYgPGRldkBk cGRrLm9yZz47IG5kIDxuZEBhcm0uY29tPg0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFU Q0ggMi8yXSBidWlsZDogZmluZCBtYXggbGNvcmUgcHJvZ3JhbW1hdGljYWxseQ0KPiANCj4gDQo+ IA0KPiA+IE9uIEF1ZyAyNSwgMjAyMCwgYXQgMTE6NDcgUE0sIEplcmluIEphY29iIDxqZXJpbmph Y29ia0BnbWFpbC5jb20+IHdyb3RlOg0KPiA+DQo+ID4gT24gV2VkLCBBdWcgMjYsIDIwMjAgYXQg Mjo0NCBBTSBEaGFybWlrIFRoYWt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