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 D95211B5D3 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 wBDN6JTq003062; Fri, 14 Dec 2018 08:06:19 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 1673063842C; Fri, 14 Dec 2018 08:06:19 +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 08AC1638287; Fri, 14 Dec 2018 08:06:19 +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:04:03 +0900 Message-Id: <1544742243-32554-9-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 8/8] docs: revise how to use section of spp_vf 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 launching SPP Controller still remained old. Signed-off-by: Yasufumi Ogawa --- docs/guides/spp_vf/gsg/howto_use.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/guides/spp_vf/gsg/howto_use.rst b/docs/guides/spp_vf/gsg/howto_use.rst index 44bc77a..750de13 100644 --- a/docs/guides/spp_vf/gsg/howto_use.rst +++ b/docs/guides/spp_vf/gsg/howto_use.rst @@ -9,11 +9,23 @@ How to Use SPP Controller -------------- -First, run SPP Controller with port numbers for spp primary and secondary. +Go to the SPP's directory first. .. code-block:: console - $ python ./src/spp_vf.py -p 5555 -s 6666 + $ cd /path/to/spp + +Launch ``spp-ctl`` before launching SPP primary and secondary processes. +You also need to launch ``spp.py`` if you use ``spp_vf`` from CLI. +``-b`` option is for binding IP address to communicate other SPP processes, +but no need to give it explicitly if ``127.0.0.1`` or ``localhost`` although +doing explicitly in this example to be more understandable. + +.. code-block:: console + + # Launch spp-ctl and spp.py + $ python3 ./src/spp-ctl/spp-ctl -b 127.0.0.1 + $ python ./src/spp.py -b 127.0.0.1 SPP Primary -- 2.7.4