Soft Patch Panel
 help / color / mirror / Atom feed
From: ogawa.yasufumi@lab.ntt.co.jp
To: spp@dpdk.org, ferruh.yigit@intel.com
Cc: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
Subject: [spp] [PATCH 02/14] docs: correct paths of executable
Date: Mon, 12 Mar 2018 15:28:53 +0900	[thread overview]
Message-ID: <1520836145-29134-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <1520836145-29134-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp>

From: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>

Correct wrong file paths of executable.

Signed-off-by: Yasufumi Ogawa <ogawa.yasufumi@lab.ntt.co.jp>
---
 docs/guides/setup/howto_use.rst | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/docs/guides/setup/howto_use.rst b/docs/guides/setup/howto_use.rst
index a5698d6..dc014aa 100644
--- a/docs/guides/setup/howto_use.rst
+++ b/docs/guides/setup/howto_use.rst
@@ -98,23 +98,25 @@ To launch primary, run ``spp_primary`` with options.
 
 .. code-block:: console
 
-    $ sudo ./src/primary/src/primary/x86_64-native-linuxapp-gcc/spp_primary \
-        -c 0x02 -n 4 \
+    $ sudo ./src/primary/x86_64-native-linuxapp-gcc/spp_primary \
+        -l 1 -n 4 \
         --socket-mem 512,512 \
         --huge-dir=/dev/hugepages \
         --proc-type=primary \
         -- \
         -p 0x03 \
-        -n 4 \
+        -n 10 \
         -s 192.168.122.1:5555
 
 SPP primary is a DPDK application and it takes EAL options before
 application specific options.
 Briefly describe about supported options.
+You can use ``-m`` instead of ``--socket-mem`` if you use single NUMA
+node.
 
 - EAL options:
 
-  - -c: core mask (one or two cores required)
+  - -l: core list (two cores required for displaying status)
   - --socket-mem: memory size on each of NUMA nodes
   - --huge-dir: path of hugepage dir
   - --proc-type: process type
@@ -153,8 +155,8 @@ Run ``spp_nfv`` with options.
 .. code-block:: console
 
     $ cd /path/to/spp
-    $ sudo ./src/nfv/src/nfv/x86_64-native-linuxapp-gcc/spp_nfv \
-        -c 0x06 -n 4 \
+    $ sudo ./src/nfv/x86_64-native-linuxapp-gcc/spp_nfv \
+        -l 2-3 -n 4 \
         --proc-type=secondary \
         -- \
         -n 1 \
@@ -162,7 +164,7 @@ Run ``spp_nfv`` with options.
 
 - EAL options:
 
-  - -c: core mask (two cores required)
+  - -l: core list (two cores required)
   - --proc-type: process type
 
 - Application options:
@@ -247,8 +249,8 @@ Run ``spp_vm`` with options.
 .. code-block:: console
 
     $ cd /path/to/spp
-    $ sudo ./src/vm/src/vm/x86_64-native-linuxapp-gcc/spp_vm \
-        -c 0x03 -n 4 \
+    $ sudo ./src/vm/x86_64-native-linuxapp-gcc/spp_vm \
+        -l 0-1 -n 4 \
         --proc-type=primary \
         -- \
         -p 0x01 \
@@ -257,7 +259,7 @@ Run ``spp_vm`` with options.
 
 - EAL options:
 
-  - -c: core mask (two cores required)
+  - -l: core list (two cores required)
   - --proc-type: process type
 
 - Application options:
-- 
2.7.4

  parent reply	other threads:[~2018-03-12  6:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-12  6:28 [spp] [PATCH 00/14] Update documents ogawa.yasufumi
2018-03-12  6:28 ` [spp] [PATCH 01/14] docs: move overview image ogawa.yasufumi
2018-03-12  6:28 ` ogawa.yasufumi [this message]
2018-03-12  6:28 ` [spp] [PATCH 03/14] docs: replace images to svg ogawa.yasufumi
2018-03-12  6:28 ` [spp] [PATCH 04/14] docs: add svg spp_nfv_l2fwd ogawa.yasufumi
2018-03-12  6:28 ` [spp] [PATCH 05/14] docs: add svg spp_two_nfv_l2fwd ogawa.yasufumi
2018-03-12  6:28 ` [spp] [PATCH 06/14] docs: add svg spp_two_nfv_loopback ogawa.yasufumi
2018-03-12  6:28 ` [spp] [PATCH 07/14] docs: add svg spp_unidir_l2fwd ogawa.yasufumi
2018-03-12  6:28 ` [spp] [PATCH 08/14] docs: add svg spp_bidir_l2fwd ogawa.yasufumi
2018-03-12  6:29 ` [spp] [PATCH 09/14] docs: add svg spp_unidir_l2fwd_vhost ogawa.yasufumi
2018-03-12  6:29 ` [spp] [PATCH 10/14] docs: update secondary commands ogawa.yasufumi
2018-03-12  6:29 ` [spp] [PATCH 11/14] docs: update experimental commands ogawa.yasufumi
2018-03-12  6:29 ` [spp] [PATCH 12/14] docs: add svg topo_term_exp ogawa.yasufumi
2018-03-12  6:29 ` [spp] [PATCH 13/14] docs: add svg for topo_subgraph ogawa.yasufumi
2018-03-12  6:29 ` [spp] [PATCH 14/14] docs: update docs version to 18.02 ogawa.yasufumi
2018-03-27 23:56 ` [spp] [PATCH 00/14] Update documents Ferruh Yigit

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=1520836145-29134-3-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).