From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 524282934 for ; Wed, 9 Mar 2016 15:04:15 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 09 Mar 2016 06:03:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,311,1455004800"; d="scan'208";a="906034808" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga001.jf.intel.com with ESMTP; 09 Mar 2016 06:03:10 -0800 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by IRSMSX106.ger.corp.intel.com ([169.254.8.172]) with mapi id 14.03.0248.002; Wed, 9 Mar 2016 14:01:20 +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: AQHReRg/JfkqdwZYikuHpwGe3WDqJZ9P0GkAgAFGFQCAAA1UAIAAATDA Date: Wed, 9 Mar 2016 14:01:18 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B1A536@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> In-Reply-To: <56E02AC2.7010704@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjkzMTVjYzQtODE5MS00YjcxLTljNDgtZGQzNzZkZGEyMTQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkFWeVZ0TEpDYWhCaDRYbllGZHEybjVuVUc0Zlg0SVhtZG9wQ1Y1aUszZ1k9In0= 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 14:04:15 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBUYW4sIEppYW5mZW5nDQo+IFNlbnQ6IFdl ZG5lc2RheSwgTWFyY2ggMDksIDIwMTYgMTo1MyBQTQ0KPiBUbzogUGFudSBNYXRpbGFpbmVuOyBk ZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIXSBlYWw6IGFkZCBv cHRpb24gLS1hdmFpbC1jb3JlcyB0byBkZXRlY3QgbGNvcmVzDQo+IA0KPiANCj4gDQo+IE9uIDMv OS8yMDE2IDk6MDUgUE0sIFBhbnUgTWF0aWxhaW5lbiB3cm90ZToNCj4gPiBPbiAwMy8wOC8yMDE2 IDA3OjM4IFBNLCBUYW4sIEppYW5mZW5nIHdyb3RlOg0KPiA+PiBIaSBQYW51LA0KPiA+Pg0KPiA+ PiBPbiAzLzgvMjAxNiA0OjU0IFBNLCBQYW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