From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 2632729B6 for ; Wed, 9 Mar 2016 16:17:35 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 09 Mar 2016 07:17:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,311,1455004800"; d="scan'208";a="906089508" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga001.jf.intel.com with ESMTP; 09 Mar 2016 07:17:33 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by IRSMSX108.ger.corp.intel.com ([169.254.11.13]) with mapi id 14.03.0248.002; Wed, 9 Mar 2016 15:17:32 +0000 From: "Ananyev, Konstantin" To: "Tan, Jianfeng" , Panu Matilainen , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores Thread-Index: AQHReg5xZ7cBFYXNTU2/d/h/hnH32J9RLfPwgAAFe4CAAAMGoA== Date: Wed, 9 Mar 2016 15:17:31 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B1A5FD@irsmsx105.ger.corp.intel.com> References: <1453661393-85704-1-git-send-email-jianfeng.tan@intel.com> <1457085957-115339-1-git-send-email-jianfeng.tan@intel.com> <56DE9359.1090705@redhat.com> <56DF0E0A.8000108@intel.com> <56E01F94.2060906@redhat.com> <56E02AC2.7010704@intel.com> <2601191342CEEE43887BDE71AB97725836B1A536@irsmsx105.ger.corp.intel.com> <56E03078.3000501@intel.com> <2601191342CEEE43887BDE71AB97725836B1A5A2@irsmsx105.ger.corp.intel.com> <56E03977.7050103@intel.com> In-Reply-To: <56E03977.7050103@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTBjMGI2N2MtMTVhMy00Y2Q4LWE1Y2EtZmI4NmJjNmFhZmYyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IldGNkdhWEFnUW9yMDBBRGg2NzQ2ckN0UzNnRlppNzI4bVRUVmVsM0J1NlU9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] eal: add option --avail-cores to detect lcores X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2016 15:17:36 -0000 SGkgSmlhbmZlbmcsDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVGFu LCBKaWFuZmVuZw0KPiBTZW50OiBXZWRuZXNkYXksIE1hcmNoIDA5LCAyMDE2IDI6NTYgUE0NCj4g VG86IEFuYW55ZXYsIEtvbnN0YW50aW47IFBhbnUgTWF0aWxhaW5lbjsgZGV2QGRwZGsub3JnDQo+ IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSF0gZWFsOiBhZGQgb3B0aW9uIC0tYXZhaWwt Y29yZXMgdG8gZGV0ZWN0IGxjb3Jlcw0KPiANCj4gSGkgS29uc3RhbnRpbiwNCj4gDQo+IE9uIDMv OS8yMDE2IDEwOjQ0IFBNLCBBbmFueWV2LCBLb25zdGFudGluIHdyb3RlOg0KPiA+DQ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