* [dpdk-stable] [PATCH v4] doc: updated json sample code for fifo interface
[not found] <20190513090424.3462-1-david.hunt@intel.com>
@ 2019-05-13 14:13 ` David Hunt
2019-05-13 16:57 ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: David Hunt @ 2019-05-13 14:13 UTC (permalink / raw)
To: dev; +Cc: david.hunt, Lukasz Krakowiak, stable
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH v4] doc: updated json sample code for fifo interface
2019-05-13 14:13 ` [dpdk-stable] [PATCH v4] doc: updated json sample code for fifo interface David Hunt
@ 2019-05-13 16:57 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2019-05-13 16:57 UTC (permalink / raw)
To: David Hunt, Lukasz Krakowiak; +Cc: dev, stable
13/05/2019 16:13, David Hunt:
> 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>
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-13 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20190513090424.3462-1-david.hunt@intel.com>
2019-05-13 14:13 ` [dpdk-stable] [PATCH v4] doc: updated json sample code for fifo interface David Hunt
2019-05-13 16:57 ` [dpdk-stable] [dpdk-dev] " Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).