From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bcmv-tmail01.ecl.ntt.co.jp (bcmv-tmail01.ecl.ntt.co.jp [124.146.185.148]) by dpdk.org (Postfix) with ESMTP id 48A522C52 for ; Tue, 20 Nov 2018 10:55:55 +0100 (CET) Received: from bcmv-ns01.ecl.ntt.co.jp (bcmv-ns01.ecl.ntt.co.jp [129.60.83.123]) by bcmv-tmail01.ecl.ntt.co.jp (8.14.4/8.14.4) with ESMTP id wAK9tsYB002853; Tue, 20 Nov 2018 18:55:54 +0900 Received: from bcmv-ns01.ecl.ntt.co.jp (localhost [127.0.0.1]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id 1013A12D; Tue, 20 Nov 2018 18:55:54 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by bcmv-ns01.ecl.ntt.co.jp (Postfix) with ESMTP id EE38B125; Tue, 20 Nov 2018 18:55:53 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Tue, 20 Nov 2018 18:53:37 +0900 Message-Id: <1542707619-25195-4-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542707619-25195-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1542614404-18171-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> <1542707619-25195-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH v2 3/5] 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: Tue, 20 Nov 2018 09:55:55 -0000 From: Yasufumi Ogawa Update the exmaple of adding vhost because it is changed from `vhost 0` to specify resource UID as `vhost:0`. 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 d52a38a..5e96919 100644 --- a/docs/guides/setup/howto_use.rst +++ b/docs/guides/setup/howto_use.rst @@ -134,7 +134,7 @@ To launch primary, run ``spp_primary`` with options. -- \ -p 0x03 \ -n 10 \ - -s 192.168.122.1:5555 + -s 192.168.1.100:5555 SPP primary takes EAL options before other application specific options. @@ -169,7 +169,7 @@ physical ports. -- \ -p 0x03 \ -n 10 \ - -s 192.168.122.1:5555 + -s 192.168.1.100:5555 - EAL options: @@ -211,7 +211,7 @@ Run ``spp_nfv`` with options. --proc-type=secondary \ -- \ -n 1 \ - -s 192.168.122.1:6666 + -s 192.168.1.100:6666 - EAL options: @@ -239,11 +239,11 @@ create ``vhost-user`` and ``virtio-net-pci`` devices on the VM. Before launching VM, you need to prepare a socket file for creating ``vhost-user`` device. -Socket file is created from SPP secondary as following. +Run ``add`` command with resource UID ``vhost:0`` to create socket file. .. code-block:: console - spp > sec 1;add vhost 0 + spp > sec 1;add vhost:0 In this example, create socket file with index 0 from secondary of ID 1. Socket file is created as ``/tmp/sock0``. @@ -307,7 +307,7 @@ Run ``spp_vm`` with options. -- \ -p 0x01 \ -n 1 \ - -s 192.168.122.1:6666 + -s 192.168.1.100:6666 - EAL options: -- 2.13.1