From: David Hunt <david.hunt@intel.com>
To: dev@dpdk.org
Cc: david.hunt@intel.com,
Lukasz Krakowiak <lukaszx.krakowiak@intel.com>,
stable@dpdk.org
Subject: [dpdk-dev] [PATCH v4] doc: updated json sample code for fifo interface
Date: Mon, 13 May 2019 15:13:55 +0100 [thread overview]
Message-ID: <20190513141355.8208-1-david.hunt@intel.com> (raw)
In-Reply-To: <20190513090424.3462-1-david.hunt@intel.com>
From: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
Updated doc for JSON sample code related to vm_power_manager
fifo interface: "command": "destroy", "command": "power".
There is no code change to go with this doc update, it is to fix
the docs to match the implementation in the code.
Fixes: a63504a90f ("examples/power: add JSON string handling")
Cc: stable@dpdk.org
Signed-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
---
doc/guides/sample_app_ug/vm_power_management.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst
index 109d10957..5d9a26172 100644
--- a/doc/guides/sample_app_ug/vm_power_management.rst
+++ b/doc/guides/sample_app_ug/vm_power_management.rst
@@ -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
}}
--
2.17.1
next prev parent reply other threads:[~2019-05-13 14:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-29 10:11 [PATCH] doc: updated json sample code for fifo interface Lukasz Krakowiak
2019-03-29 10:22 ` [PATCH v2] " Lukasz Krakowiak
2019-04-15 15:06 ` [dpdk-dev] " Hunt, David
2019-04-22 22:30 ` Thomas Monjalon
2019-05-09 18:57 ` Thomas Monjalon
2019-05-13 9:04 ` [dpdk-dev] [PATCH v3] " David Hunt
2019-05-13 13:49 ` Thomas Monjalon
2019-05-13 14:13 ` David Hunt [this message]
2019-05-13 16:57 ` [dpdk-dev] [PATCH v4] " Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190513141355.8208-1-david.hunt@intel.com \
--to=david.hunt@intel.com \
--cc=dev@dpdk.org \
--cc=lukaszx.krakowiak@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.