From: ogawa.yasufumi@lab.ntt.co.jp
To: ferruh.yigit@intel.com, spp@dpdk.org
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH] docs: fix typos of command example
Date: Tue, 12 Jun 2018 20:16:17 +0900 [thread overview]
Message-ID: <20180612111617.18743-1-ogawa.yasufumi@lab.ntt.co.jp> (raw)
From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
docs/guides/setup/howto_use.rst | 5 +++--
docs/guides/setup/use_cases.rst | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/docs/guides/setup/howto_use.rst b/docs/guides/setup/howto_use.rst
index dc014aa..19f7074 100644
--- a/docs/guides/setup/howto_use.rst
+++ b/docs/guides/setup/howto_use.rst
@@ -53,7 +53,8 @@ SPP controller is implemented as a python script ``spp.py``.
.. code-block:: console
- $ python spp.py
+ $ cd /path/to/spp
+ $ python src/spp.py
primary port : 5555
secondary port : 6666
Welcome to the spp. Type help or ? to list commands.
@@ -67,7 +68,7 @@ Please refer help message for options.
.. code-block:: console
- $ ./src/spp.py -h
+ $ python src/spp.py -h
usage: spp.py [-h] [-p PRI_PORT] [-s SEC_PORT] [-m MNG_PORT] [-ip IPADDR]
SPP Controller
diff --git a/docs/guides/setup/use_cases.rst b/docs/guides/setup/use_cases.rst
index 1cd30a6..2c83fe0 100644
--- a/docs/guides/setup/use_cases.rst
+++ b/docs/guides/setup/use_cases.rst
@@ -260,6 +260,7 @@ First, add ``ring 0`` and ``ring 1`` to ``sec 1``.
spp > sec 1;add ring 0
spp > sec 1;add ring 1
+ spp > sec 1;status
status: idling
ports:
- 'phy:0'
@@ -274,6 +275,7 @@ Then, add ``ring 0`` and ``ring 1`` to ``sec 2``.
spp > sec 2;add ring 0
spp > sec 2;add ring 1
+ spp > sec 2;status
status: idling
ports:
- 'phy:0'
@@ -326,7 +328,7 @@ creation.
sock0 ...
# remove it if exist
- $ rm /tmp/sock0
+ $ sudo rm /tmp/sock0
Create ``/tmp/sock0`` from ``sec 1``.
@@ -480,7 +482,7 @@ and watch received packets on pktgen.
.. code-block:: console
- spp > sec 2;patch phy:1 pcap:2
+ spp > sec 2;patch pcap:2 phy:1
spp > sec 2;forward
After started forwarding, you can see that packet count is increased.
--
2.17.1
next reply other threads:[~2018-06-12 11:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 11:16 ogawa.yasufumi [this message]
2018-06-27 11:00 ` Ferruh Yigit
2018-07-03 7:23 ` Yasufumi Ogawa
2018-07-09 2:18 ` [spp] [spp 02934] " Hideyuki Yamashita
2018-08-15 15:48 ` Ferruh Yigit
2018-08-16 8:01 ` Thomas Monjalon
2018-08-20 3:08 ` Yasufumi Ogawa
2018-08-22 8:54 ` Yasufumi Ogawa
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=20180612111617.18743-1-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).