From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43CCCC282DA for ; Mon, 15 Apr 2019 15:06:53 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 01F2B20880 for ; Mon, 15 Apr 2019 15:06:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01F2B20880 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B9E11B293; Mon, 15 Apr 2019 17:06:52 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 789551B21A for ; Mon, 15 Apr 2019 17:06:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Apr 2019 08:06:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,354,1549958400"; d="scan'208";a="135975860" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.210.157]) ([10.237.210.157]) by orsmga006.jf.intel.com with ESMTP; 15 Apr 2019 08:06:49 -0700 To: Lukasz Krakowiak Cc: dev@dpdk.org References: <20190329101104.18360-1-lukaszx.krakowiak@intel.com> <20190329102219.17876-1-lukaszx.krakowiak@intel.com> From: "Hunt, David" Message-ID: <947f7f12-9ac1-2f6f-6f4f-b8df975c666d@intel.com> Date: Mon, 15 Apr 2019 16:06:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190329102219.17876-1-lukaszx.krakowiak@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v2] doc: updated json sample code for fifo interface 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" On 29/3/2019 10:22 AM, Lukasz Krakowiak wrote: > Updated doc for JSON sample code related to vm_power_manager > fifo interface: "command": "destroy", "command": "power". > Corrected typo in doc vm_power_management.rst: 'json' instead > of 'jason'. > > --- > v2: > * coding style improved > > Signed-off-by: Lukasz Krakowiak > --- > doc/guides/sample_app_ug/vm_power_management.rst | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst > index 14d432e78..0182a92b3 100644 > --- a/doc/guides/sample_app_ug/vm_power_management.rst > +++ b/doc/guides/sample_app_ug/vm_power_management.rst > @@ -384,7 +384,7 @@ the file. > > The fifo is at /tmp/powermonitor/fifo > > -The jason string can be a policy or instruction, and takes the following > +The json string can be a policy or instruction, and takes the following > format: > > .. code-block:: javascript > @@ -597,7 +597,7 @@ Profile destroy example: > > .. code-block:: javascript > > - {"profile": { > + {"policy": { > "name": "ubuntu", > "command": "destroy", > }} > @@ -606,8 +606,9 @@ Power command example: > > .. code-block:: javascript > > - {"command": { > + {"instruction": { > "name": "ubuntu", > + "command": "power", > "unit": "SCALE_MAX", > "resource_id": 10 > }} Acked-by: David Hunt