From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147]) by dpdk.org (Postfix) with ESMTP id C2BB62C2B 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 tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id wBDN6J5a025914; 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 E3B37638553; 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 D372B63868F; 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:59 +0900 Message-Id: <1544742243-32554-5-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 4/8] docs: update spp_nfv commands 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/commands/secondary/spp_nfv.rst | 36 +++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/guides/commands/secondary/spp_nfv.rst b/docs/guides/commands/secondary/spp_nfv.rst index 794ead5..4bc71a8 100644 --- a/docs/guides/commands/secondary/spp_nfv.rst +++ b/docs/guides/commands/secondary/spp_nfv.rst @@ -4,18 +4,18 @@ spp_nfv ======= -Each of ``spp_nfv`` and ``spp_vm`` processes is managed with ``sec`` command. +Each of ``spp_nfv`` and ``spp_vm`` processes is managed with ``nfv`` command. It is for sending sub commands to secondary with specific ID called secondary ID. -``sec`` command takes an secondary ID and a sub command. They must be +``nfv`` command takes an secondary ID and a sub command. They must be separated with delimiter ``;``. Some of sub commands take additional arguments for speicfying resource owned by secondary process. .. code-block:: console - spp > sec SEC_ID; SUB_CMD + spp > nfv SEC_ID; SUB_CMD All of Sub commands are referred with ``help`` command. @@ -28,14 +28,14 @@ All of Sub commands are referred with ``help`` command. SPP secondary process is specified with secondary ID and takes sub commands. - spp > sec 1; status - spp > sec 1; add ring:0 - spp > sec 1; patch phy:0 ring:0 + spp > nfv 1; status + spp > nfv 1; add ring:0 + spp > nfv 1; patch phy:0 ring:0 You can refer all of sub commands by pressing TAB after - 'sec 1;'. + 'nfv 1;'. - spp > sec 1; # press TAB + spp > nfv 1; # press TAB add del exit forward patch status stop status @@ -47,7 +47,7 @@ source if it is not patched. .. code-block:: console - spp > sec 1; status + spp > nfv 1; status - status: idling - ports: - phy:0 -> ring:0 @@ -63,13 +63,13 @@ For example, adding ``ring:0`` by .. code-block:: console - spp> sec 1; add ring:0 + spp> nfv 1; add ring:0 Or adding ``vhost:0`` by .. code-block:: console - spp> sec 1; add vhost:0 + spp> nfv 1; add vhost:0 patch @@ -80,7 +80,7 @@ This command just creates a path and does not start forwarding. .. code-block:: console - spp > sec 1; patch phy:0 ring:0 + spp > nfv 1; patch phy:0 ring:0 forward @@ -90,14 +90,14 @@ Start forwarding. .. code-block:: console - spp > sec 1; forward + spp > nfv 1; forward Running status is changed from ``idling`` to ``running`` by executing it. .. code-block:: console - spp > sec 1; status + spp > nfv 1; status - status: running - ports: - phy:0 @@ -111,14 +111,14 @@ Stop forwarding. .. code-block:: console - spp > sec 1; stop + spp > nfv 1; stop Running status is changed from ``running`` to ``idling`` by executing it. .. code-block:: console - spp > sec 1; status + spp > nfv 1; status - status: idling - ports: - phy:0 @@ -132,7 +132,7 @@ Delete a port from the secondary. .. code-block:: console - spp> sec 1; del ring:0 + spp> nfv 1; del ring:0 exit @@ -143,4 +143,4 @@ use ``bye sec`` command instead of it. .. code-block:: console - spp> sec 1; exit + spp> nfv 1; exit -- 2.7.4