From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id 53F351B43A for ; Thu, 31 Jan 2019 12:05:18 +0100 (CET) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x0VB5HLx030163; Thu, 31 Jan 2019 20:05:17 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 42CF563968A; Thu, 31 Jan 2019 20:05:17 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 34FCD63961C; Thu, 31 Jan 2019 20:05:17 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Thu, 31 Jan 2019 20:03:06 +0900 Message-Id: <1548932589-21099-2-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548932589-21099-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1548932589-21099-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH 1/4] docs: add lcores in pri status in REST API X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2019 11:05:18 -0000 From: Yasufumi Ogawa This update is to add `lcores` attribute in `status` of spp_primary. Signed-off-by: Yasufumi Ogawa --- 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