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 7AA86A04BA; Thu, 17 Sep 2020 11:56:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3CA871C0C9; Thu, 17 Sep 2020 11:56:15 +0200 (CEST) Received: from mailgw02.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by dpdk.org (Postfix) with ESMTP id DBB3E1BFCF for ; Thu, 17 Sep 2020 11:56:13 +0200 (CEST) Received: from mailgw02.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw02.pantheon.sk (Proxmox) with ESMTP id 7AC15182D9F; Thu, 17 Sep 2020 11:56:13 +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=UKLgdJHp9RM6AQkwnfnR GWOdznyWvPRljsyMJqlUwsk=; b=HoDJk/vRl8O7v6/+EUzbJ7fK04WUucqJJ52B EvUzGh7jRJIoTrFMMVrz0aklvZExomt3EpEOUTkHjBym9/W2FcW4/PREeWD3YIvE +2u4MSmVHnTLii7AYIyw+dYF/3uM9mjGAUEPPDElJcZBz12jfbn4/1JUurdTIdm9 d6bg+S6hrfJChUwhbbpmFXEtUMLl9F/hGF7v7Nj+Rvvb6B0GyMqgDN9vtvnrVSeW +fIkKOtTd+z1xSBpMHScmV7hncXwottxXdkQRvCYZ+NItNUSyz2fsj/6EUoxvO/a GzTGVx3tvvWUzsT/XQ3Mo7ZpOTPgNPXsoWK9tLbQc+1d0Cb8zA== From: =?utf-8?B?SnVyYWogTGlua2XFoQ==?= To: Dharmik Thakkar , Stephen Hemminger CC: Jerin Jacob , "thomas@monjalon.net" , dpdk-dev , nd Thread-Topic: [dpdk-dev] [PATCH 2/2] build: find max lcore programmatically Thread-Index: AQHWeyStgtQbhE4/zE2URFE2PF3gn6lJsEIAgAACOYCADMuM0IAA8/+AgABy0QCAFNFkQA== Date: Thu, 17 Sep 2020 09:56:12 +0000 Message-ID: References: <20200825211317.8358-1-dharmik.thakkar@arm.com> <20200825211317.8358-2-dharmik.thakkar@arm.com> <20200903155237.3e61310d@hermes.lan> <8BB437F0-97EC-478B-8710-EE10023A8C3E@arm.com> In-Reply-To: <8BB437F0-97EC-478B-8710-EE10023A8C3E@arm.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] [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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRGhhcm1payBUaGFra2Fy IDxEaGFybWlrLlRoYWtrYXJAYXJtLmNvbT4NCj4gU2VudDogRnJpZGF5LCBTZXB0ZW1iZXIgNCwg MjAyMCA3OjQ0IEFNDQo+IFRvOiBTdGVwaGVuIEhlbW1pbmdlciA8c3RlcGhlbkBuZXR3b3JrcGx1 bWJlci5vcmc+DQo+IENjOiBKdXJhaiBMaW5rZcWhIDxqdXJhai5saW5rZXNAcGFudGhlb24udGVj aD47IEplcmluIEphY29iDQo+IDxqZXJpbmphY29ia0BnbWFpbC5jb20+OyB0aG9tYXNAbW9uamFs b24ubmV0OyBkcGRrLWRldiA8ZGV2QGRwZGsub3JnPjsNCj4gbmQgPG5kQGFybS5jb20+DQo+IFN1 YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCAyLzJdIGJ1aWxkOiB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