From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw1135.ocn.ad.jp (mogw1135.ocn.ad.jp [153.149.229.36]) by dpdk.org (Postfix) with ESMTP id 725592BF2 for ; Mon, 12 Mar 2018 07:29:18 +0100 (CET) Received: from mf-smf-ucb028c2 (mf-smf-ucb028c2.ocn.ad.jp [153.153.66.173]) by mogw1135.ocn.ad.jp (Postfix) with ESMTP id 068A91000238; Mon, 12 Mar 2018 15:29:17 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb019 ([153.149.142.82]) by mf-smf-ucb028c2 with ESMTP id vGxQea1gKL2iAvGxQePOtu; Mon, 12 Mar 2018 15:29:16 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.167]) by ntt.pod01.mv-mta-ucb019 with id LuVG1x00A3dLKTM01uVGeQ; Mon, 12 Mar 2018 06:29:16 +0000 Received: from linaloe.flets-east.jp (sp1-66-103-93.msc.spmode.ne.jp [1.66.103.93]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Mon, 12 Mar 2018 15:29:16 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com Cc: Yasufumi Ogawa Date: Mon, 12 Mar 2018 15:28:53 +0900 Message-Id: <1520836145-29134-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520836145-29134-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1520836145-29134-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 02/14] docs: correct paths of executable 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: Mon, 12 Mar 2018 06:29:18 -0000 From: Yasufumi Ogawa Correct wrong file paths of executable. Signed-off-by: Yasufumi Ogawa --- 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