From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp
Subject: [spp] [PATCH 1/4] docs: add lcores in pri status in REST API
Date: Thu, 31 Jan 2019 20:03:06 +0900 [thread overview]
Message-ID: <1548932589-21099-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1548932589-21099-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
This update is to add `lcores` attribute in `status` of spp_primary.
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
docs/guides/api_ref/spp_primary.rst | 36 ++++++++++++++----------------------
1 file changed, 14 insertions(+), 22 deletions(-)
diff --git a/docs/guides/api_ref/spp_primary.rst b/docs/guides/api_ref/spp_primary.rst
index fb89766..e46de21 100644
--- a/docs/guides/api_ref/spp_primary.rst
+++ b/docs/guides/api_ref/spp_primary.rst
@@ -31,14 +31,16 @@ Response
.. table:: Response params of primary status.
- +------------+-------+-------------------------------------------+
- | Name | Type | Description |
- | | | |
- +============+=======+===========================================+
- | phy_ports | array | An array of statistics of physical ports. |
- +------------+-------+-------------------------------------------+
- | ring_ports | array | An array of statistics of ring ports. |
- +------------+-------+-------------------------------------------+
+ +------------+-------+----------------------------------------+
+ | Name | Type | Description |
+ | | | |
+ +============+=======+========================================+
+ | lcores | array | Array of lcores spp_primary is using. |
+ +------------+-------+----------------------------------------+
+ | phy_ports | array | Array of statistics of physical ports. |
+ +------------+-------+----------------------------------------+
+ | ring_ports | array | Array of statistics of ring ports. |
+ +------------+-------+----------------------------------------+
Physical port object.
@@ -89,6 +91,9 @@ Response example
.. code-block:: json
{
+ "lcores": [
+ 0
+ ],
"phy_ports": [
{
"id": 0,
@@ -120,20 +125,7 @@ Response example
"tx": 0,
"tx_drop": 0
},
- {
- "id": 2,
- "rx": 0,
- "rx_drop": 0,
- "tx": 0,
- "tx_drop": 0
- },
- {
- "id": 3,
- "rx": 0,
- "rx_drop": 0,
- "tx": 0,
- "tx_drop": 0
- }
+ ...
]
}
--
2.7.4
next prev parent reply other threads:[~2019-01-31 11:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-31 11:03 [spp] [PATCH 0/4] Update REST API reference and usecases ogawa.yasufumi
2019-01-31 11:03 ` ogawa.yasufumi [this message]
2019-01-31 11:03 ` [spp] [PATCH 2/4] docs: add launch of primary to REST API reference ogawa.yasufumi
2019-01-31 11:03 ` [spp] [PATCH 3/4] docs: refactor spp_nfv " ogawa.yasufumi
2019-01-31 11:03 ` [spp] [PATCH 4/4] docs: add usage of server add command in usecase ogawa.yasufumi
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=1548932589-21099-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp \
--to=ogawa.yasufumi@lab.ntt.co.jp \
--cc=ferruh.yigit@intel.com \
--cc=spp@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 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).