From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20D98A0487 for ; Wed, 3 Jul 2019 06:34:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12D5C2BC8; Wed, 3 Jul 2019 06:34:23 +0200 (CEST) Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) by dpdk.org (Postfix) with ESMTP id D5B012BC8 for ; Wed, 3 Jul 2019 06:34:21 +0200 (CEST) Received: by mail-pg1-f171.google.com with SMTP id q4so505416pgj.8 for ; Tue, 02 Jul 2019 21:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=0wR/KSNvsmzASs/ercAPxfYsR843oLNmNRXIWWpsVZQ=; b=IifrCWRDWT8aiFQczOGcmMN9VAESoylxbNDpd4ayeJfrJ3o0xD+OHxN7eErqIbD+1w IbSE/4dotykZpJFspWQlD5KHypnS9/EEe1i5JmfEYuefS2OHrb+d0QTlbVJ6O+koZJCW y13xTIZ0S7lQa4pHWEIinor2iS273rAEj2ykPQz0oNwzPQEfrDrcPHr9dcLL8qfduFRH o9u+K4itrwWTagul7gmIljNPspneiYbnZnoMHontFWlyu93rHWLKrhLTvTjvY6mzXQWC M/2cnwm18W661hMIFY56kL0Ftt2XPaU2MyVd3+nirVtjx9luCjfHSgn32la13oxH0Ws7 ksPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=0wR/KSNvsmzASs/ercAPxfYsR843oLNmNRXIWWpsVZQ=; b=ZBSeIN64UAFaMm52OGJAZHpD2tmYqsMW8eRbV/SYmmOpoh90DINl4y3dftOo1HESOt tqXvhHkFM9fEAR57p4qDzzYx3qCS/yuhSVTgyWDPUGGb37Y0pg4Ulf85Tv68B72FiJ8F ldnCkBGLeCJ+sv0gAyPWhAxuGLHdJfwSVR/3TfcMiNcq8AaDJsJ+xc6jKFqr1Zug8f90 zEpq/7bFdQJL+NiMfkHEgJHVBUhTdMDr+/G3lgwBFzQ/Z6wg+3Bs3ApQLt+N5NCDtUdE Bk3eY4zAs08ee5GaETP5Hgk1vPY4J7gicc2RZI3ehlX7pCVORvIcd/WlzkiAfQZPcGoH 0HLQ== X-Gm-Message-State: APjAAAXxCsnUzAexJrKMgVnS8fkmV47J8e5ipylgDHOOYbU/uOuyQwD6 iLSb3P9lIrPJtLmoMOof1wNoBsje X-Google-Smtp-Source: APXvYqzfcmIMoPrhqOUlwD6Pnf/psh7vJZeThyBWyZVmtJ6NWuW70L8UxCIQBh61K0bV8HSCQ1NNbA== X-Received: by 2002:a63:4803:: with SMTP id v3mr20890572pga.347.1562128460875; Tue, 02 Jul 2019 21:34:20 -0700 (PDT) Received: from localhost.localdomain ([192.47.164.146]) by smtp.gmail.com with ESMTPSA id u10sm676034pgk.41.2019.07.02.21.34.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Jul 2019 21:34:20 -0700 (PDT) From: yasufum.o@gmail.com To: spp@dpdk.org, ferruh.yigit@intel.com, yasufum.o@gmail.com Date: Wed, 3 Jul 2019 13:34:14 +0900 Message-Id: <20190703043414.32632-1-yasufum.o@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [spp] [PATCH] docs: update status msg in usecases 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: , Errors-To: spp-bounces@dpdk.org Sender: "spp" From: Yasufumi Ogawa List of lcores is added to the result of `status` command, but examples in usecases chapter are still old. This patch is to update the examples. Signed-off-by: Yasufumi Ogawa --- docs/guides/usecases/spp_mirror.rst | 3 +++ docs/guides/usecases/spp_nfv.rst | 18 ++++++++++++++++++ docs/guides/usecases/spp_pcap.rst | 10 ++++++++++ docs/guides/usecases/spp_vf.rst | 3 +++ 4 files changed, 34 insertions(+) diff --git a/docs/guides/usecases/spp_mirror.rst b/docs/guides/usecases/spp_mirror.rst index 5846bd1..1fcd8b0 100644 --- a/docs/guides/usecases/spp_mirror.rst +++ b/docs/guides/usecases/spp_mirror.rst @@ -168,6 +168,9 @@ Next, stop components. Basic Information: - client-id: 1 - ports: [phy:0, phy:1] + - lcore_ids: + - master: 0 + - slave: 2 Components: - core:2 '' (type: unuse) diff --git a/docs/guides/usecases/spp_nfv.rst b/docs/guides/usecases/spp_nfv.rst index 3c493fb..cc18b08 100644 --- a/docs/guides/usecases/spp_nfv.rst +++ b/docs/guides/usecases/spp_nfv.rst @@ -30,6 +30,9 @@ First of all, Check the status of ``spp_nfv`` from SPP CLI. spp > nfv 1; status - status: idling + - lcore_ids: + - master: 1 + - slave: 2 - ports: - phy:0 - phy:1 @@ -61,6 +64,9 @@ patches as you defined. spp > nfv 1; status - status: running + - lcore_ids: + - master: 1 + - slave: 2 - ports: - phy:0 -> phy:1 - phy:1 -> phy:0 @@ -192,6 +198,9 @@ All of ring PMDs is showed with ``status`` subcommand. Add ring:0. spp > nfv 1; status - status: idling + - lcore_ids: + - master: 1 + - slave: 2 - ports: - phy:0 - phy:1 @@ -207,6 +216,9 @@ use it anymore. Delete ring:0. spp > nfv 1; status - status: idling + - lcore_ids: + - master: 1 + - slave: 2 - ports: - phy:0 - phy:1 @@ -260,6 +272,9 @@ First, add ``ring:0`` and ``ring:1`` to ``nfv 1``. Add ring:1. spp > nfv 1; status - status: idling + - lcore_ids: + - master: 1 + - slave: 2 - ports: - phy:0 - phy:1 @@ -276,6 +291,9 @@ Then, add ``ring:0`` and ``ring:1`` to ``nfv 2``. Add ring:1. spp > nfv 2; status - status: idling + - lcore_ids: + - master: 1 + - slave: 3 - ports: - phy:0 - phy:1 diff --git a/docs/guides/usecases/spp_pcap.rst b/docs/guides/usecases/spp_pcap.rst index c6ec14b..9149a43 100644 --- a/docs/guides/usecases/spp_pcap.rst +++ b/docs/guides/usecases/spp_pcap.rst @@ -86,8 +86,13 @@ You can confirm lcores and worker threads running on from ``status`` command. # terminal 2 spp > pcap 1; status + Basic Information: - client-id: 1 - status: idle + - lcore_ids: + - master: 1 + - slaves: [2, 3, 4, 5, 6] + Components: - core:2 receive - rx: phy:0 - core:3 write @@ -121,8 +126,13 @@ As you run ``start`` command, PCAP files are generated for each of # terminal 2 spp > pcap 1; status + Basic Information: - client-id: 1 - status: running + - lcore_ids: + - master: 1 + - slaves: [2, 3, 4, 5, 6] + Components: - core:2 receive - rx: phy:0 - core:3 write diff --git a/docs/guides/usecases/spp_vf.rst b/docs/guides/usecases/spp_vf.rst index 4810317..7365fca 100644 --- a/docs/guides/usecases/spp_vf.rst +++ b/docs/guides/usecases/spp_vf.rst @@ -221,6 +221,9 @@ You can confirm that worker threads are cleaned from ``status``. Basic Information: - client-id: 1 - ports: [phy:0, phy:1] + - lcore_ids: + - master: 2 + - slaves: [3, 4, 5, 6] Classifier Table: No entries. Components: -- 2.17.1