From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id D5D451B5D2 for ; Fri, 14 Dec 2018 00:06:20 +0100 (CET) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id wBDN6Ie7003053; Fri, 14 Dec 2018 08:06:18 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id CFF1363867C; Fri, 14 Dec 2018 08:06:18 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id C1ACC63846D; Fri, 14 Dec 2018 08:06:18 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Fri, 14 Dec 2018 08:03:57 +0900 Message-Id: <1544742243-32554-3-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544742243-32554-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1544580212-9309-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> <1544742243-32554-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH v2 2/8] docs: update How to Use section 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: Thu, 13 Dec 2018 23:06:21 -0000 From: Yasufumi Ogawa Update descriptions and examples to the latest release. Signed-off-by: Yasufumi Ogawa --- docs/guides/setup/howto_use.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guides/setup/howto_use.rst b/docs/guides/setup/howto_use.rst index 5e96919..1f511dd 100644 --- a/docs/guides/setup/howto_use.rst +++ b/docs/guides/setup/howto_use.rst @@ -41,11 +41,11 @@ events such as receiving a request or terminating a process. $ cd /path/to/spp $ python3 src/spp-ctl/spp-ctl -Notice that It is implemented in ``python3`` and cannot launch +Notice that ``spp-ctl`` is implemented in ``python3`` and cannot launch with ``python`` or ``python2``. -It has a option ``-b`` for binding address to be accessed from other than -``127.0.0.1`` or ``localhost``. +It has a option ``-b`` for binding address explicitly to be accessed +from other than default, ``127.0.0.1`` or ``localhost``. .. code-block:: console @@ -164,7 +164,7 @@ physical ports. --socket-mem 512,512 \ --huge-dir=/dev/hugepages \ --vdev eth_vhost1,iface=/tmp/sock1 # used as 1st phy port - --vdev eth_vhost2,iface=/tmp/sock2 # used as 2nd + --vdev eth_vhost2,iface=/tmp/sock2 # used as 2nd phy port --proc-type=primary \ -- \ -p 0x03 \ @@ -243,9 +243,9 @@ Run ``add`` command with resource UID ``vhost:0`` to create socket file. .. code-block:: console - spp > sec 1;add vhost:0 + spp > nfv 1; add vhost:0 -In this example, create socket file with index 0 from secondary of ID 1. +In this example, create socket file with index 0 from ``spp_nfv`` of ID 1. Socket file is created as ``/tmp/sock0``. It is used as a qemu option to add vhost interface. -- 2.7.4