summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasufumi Ogawa <yasufum.o@gmail.com>2019-07-03 13:34:14 +0900
committerYasufumi Ogawa <yasufum.o@gmail.com>2019-07-03 20:38:49 +0900
commitfd2987fa18d21ed0672c659f903bc5fcb7f5b784 (patch)
tree3ef9210f4a05d69ee59664d7ce79947382d986a6
parent360a7a22dffd0eb1be5122e722c2bb345a1a728c (diff)
downloadspp-fd2987fa18d21ed0672c659f903bc5fcb7f5b784.zip
spp-fd2987fa18d21ed0672c659f903bc5fcb7f5b784.tar.gz
spp-fd2987fa18d21ed0672c659f903bc5fcb7f5b784.tar.xz
docs: update status msg in usecases
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 <yasufum.o@gmail.com>
-rw-r--r--docs/guides/usecases/spp_mirror.rst3
-rw-r--r--docs/guides/usecases/spp_nfv.rst18
-rw-r--r--docs/guides/usecases/spp_pcap.rst10
-rw-r--r--docs/guides/usecases/spp_vf.rst3
4 files changed, 34 insertions, 0 deletions
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: