From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 5AF701B209 for ; Tue, 8 Jan 2019 13:47:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2019 04:47:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,454,1539673200"; d="scan'208";a="106572237" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga006.jf.intel.com with ESMTP; 08 Jan 2019 04:47:05 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 8 Jan 2019 04:47:04 -0800 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 8 Jan 2019 04:47:04 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.63]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.239]) with mapi id 14.03.0415.000; Tue, 8 Jan 2019 20:47:02 +0800 From: "Yao, Lei A" To: "Hunt, David" , "dev@dpdk.org" Thread-Topic: [PATCH] examples/power: fix wrong core_id with JSON cmds Thread-Index: AQHUpn24itk/CwxBQ0aEKUTzqtz1PaWknCqQ///3aQCAAL+awA== Date: Tue, 8 Jan 2019 12:47:01 +0000 Message-ID: <2DBBFF226F7CF64BAFCA79B681719D95496070BB@shsmsx102.ccr.corp.intel.com> References: <20190107113920.37748-1-david.hunt@intel.com> <2DBBFF226F7CF64BAFCA79B681719D95496063E4@shsmsx102.ccr.corp.intel.com> <450fa9eb-fedd-969a-fbb4-c98472cdb1f5@intel.com> In-Reply-To: <450fa9eb-fedd-969a-fbb4-c98472cdb1f5@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTAxOTkwODYtZTdhNy00NDUxLWEzMDctNjYxMTE4ZGUzYzRkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN3laWUQwRW9DMGJ1RGFcL3p2djJmNzBcL0pMTnVGOHZ3NmZ3N3dCYlFHTlQ4cFBORFh6S3g5eHl2bVBzNm9PelZpIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/power: fix wrong core_id with JSON cmds 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: , X-List-Received-Date: Tue, 08 Jan 2019 12:47:06 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSHVudCwgRGF2aWQNCj4g U2VudDogVHVlc2RheSwgSmFudWFyeSA4LCAyMDE5IDU6MjAgUE0NCj4gVG86IFlhbywgTGVpIEEg PGxlaS5hLnlhb0BpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRD SF0gZXhh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