From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2DB7E2C65 for ; Wed, 9 Mar 2016 15:44:13 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 09 Mar 2016 06:44:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,311,1455004800"; d="scan'208";a="933069203" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga002.fm.intel.com with ESMTP; 09 Mar 2016 06:44:11 -0800 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX153.ger.corp.intel.com (163.33.192.75) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 9 Mar 2016 14:44:10 +0000 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.35]) by irsmsx112.ger.corp.intel.com ([169.254.1.234]) with mapi id 14.03.0248.002; Wed, 9 Mar 2016 14:44:10 +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/hnH32J9RLfPw Date: Wed, 9 Mar 2016 14:44:09 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725836B1A5A2@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> In-Reply-To: <56E03078.3000501@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjYzMmZjMjEtOTQ4Ny00ODk5LWIwNjMtOTRkOWVlMDQxOTJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IitxUjdOUW5tbHE0SEJLeWVBK3VvQVRjU2dEUnBOcFBUMnBzQlwvdXdlZ0dRPSJ9 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:44:13 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVGFuLCBKaWFuZmVuZw0K PiBTZW50OiBXZWRuZXNkYXksIE1hcmNoIDA5LCAyMDE2IDI6MTcgUE0NCj4gVG86IEFuYW55ZXYs IEtvbnN0YW50aW47IFBhbnUgTWF0aWxhaW5lbjsgZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6IFJl OiBbZHBkay1kZXZdIFtQQVRDSF0gZWFsOiBhZGQgb3B0aW9uIC0tYXZhaWwtY29yZXMgdG8gZGV0 ZWN0IGxjb3Jlcw0KPiANCj4gDQo+IA0KPiBPbiAzLzkvMjAxNiAxMDowMSBQTSwgQW5hbnlldiwg S29uc3RhbnRpbiB3cm90ZToNCj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