From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0828.ocn.ad.jp (mogw0828.ocn.ad.jp [153.149.234.29]) by dpdk.org (Postfix) with ESMTP id 1CA311B295 for ; Mon, 5 Feb 2018 03:45:49 +0100 (CET) Received: from mf-smf-ucb018.ocn.ad.jp (mf-smf-ucb018.ocn.ad.jp [153.149.227.67]) by mogw0828.ocn.ad.jp (Postfix) with ESMTP id A0033180239; Mon, 5 Feb 2018 11:45:47 +0900 (JST) Received: from mf-smf-ucb018.ocn.ad.jp (mf-smf-ucb018 [153.149.227.67]) by mf-smf-ucb018.ocn.ad.jp (Postfix) with ESMTP id 84B9520629; Mon, 5 Feb 2018 11:45:47 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb028 (mv-mta-ucb028.ocn.ad.jp [153.149.230.162]) by mf-smf-ucb018.ocn.ad.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id w152jlrW001519; Mon, 5 Feb 2018 11:45:47 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.135]) by ntt.pod01.mv-mta-ucb028 with id 6qlm1x0072vuoep01qlmUw; Mon, 05 Feb 2018 02:45:47 +0000 Received: from localhost.localdomain (sp49-97-109-142.msc.spmode.ne.jp [49.97.109.142]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Mon, 5 Feb 2018 11:45:46 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, nakamura.hiroyuki@po.ntt-tx.co.jp Cc: Yasufumi Ogawa Date: Mon, 5 Feb 2018 11:46:20 +0900 Message-Id: <20180205024620.8147-1-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 Subject: [spp] [PATCH 24/28] docs: fix incorrect descriptions 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: Mon, 05 Feb 2018 02:45:49 -0000 From: Yasufumi Ogawa Correct descriptions for classifier_table command. Signed-off-by: Yasufumi Ogawa --- docs/guides/spp_vf/commands/secondary.rst | 2 +- docs/guides/spp_vf/use_cases/usecase1.rst | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/guides/spp_vf/commands/secondary.rst b/docs/guides/spp_vf/commands/secondary.rst index bbbe69e..564e9af 100644 --- a/docs/guides/spp_vf/commands/secondary.rst +++ b/docs/guides/spp_vf/commands/secondary.rst @@ -207,7 +207,7 @@ to classifier table. .. code-block:: console - spp > sec 1;classifier_table add mac [MAC_ADDRESS] [RES_ID] + spp > sec [SEC_ID];classifier_table add mac [MAC_ADDRESS] [RES_ID] This is an example to register an entry for port ``ring:0``. diff --git a/docs/guides/spp_vf/use_cases/usecase1.rst b/docs/guides/spp_vf/use_cases/usecase1.rst index d45011e..46726b4 100644 --- a/docs/guides/spp_vf/use_cases/usecase1.rst +++ b/docs/guides/spp_vf/use_cases/usecase1.rst @@ -177,15 +177,15 @@ MAC address and corresponging port is registered to the table with .. code-block:: console - spp > classifier_table add mac [MACADDRESS] [PORT] + spp > [SEC_ID];classifier_table add mac [MACADDRESS] [PORT] In this usecase, you need to register two MAC addresses for merger1. .. code-block:: console # Register MAC address to classifier - spp > classifier_table add mac 52:54:00:12:34:56 ring:0 - spp > classifier_table add mac 52:54:00:12:34:58 ring:1 + spp > sec 1;classifier_table add mac 52:54:00:12:34:56 ring:0 + spp > sec 1;classifier_table add mac 52:54:00:12:34:58 ring:1 Configuration for the second login path is almost similar to the first @@ -232,8 +232,8 @@ Register entries to classifier_table for classifier2. .. code-block:: console # Register MAC address to classifier - spp > classifier_table add mac 52:54:00:12:34:57 ring:4 - spp > classifier_table add mac 52:54:00:12:34:59 ring:5 + spp > sec 1;classifier_table add mac 52:54:00:12:34:57 ring:4 + spp > sec 1;classifier_table add mac 52:54:00:12:34:59 ring:5 Finally, activate all of settings by doign `flush` subcommand. @@ -332,8 +332,8 @@ for the first SSH login path. .. code-block:: console # Delete MAC address from Classifier - spp > classifier_table del mac 51:54:00:12:34:56 ring:0 - spp > classifier_table del mac 51:54:00:12:34:58 ring:1 + spp > sec 1;classifier_table del mac 51:54:00:12:34:56 ring:0 + spp > sec 1;classifier_table del mac 51:54:00:12:34:58 ring:1 .. code-block:: console @@ -377,8 +377,8 @@ components. .. code-block:: console # Delete MAC address from Classifier - spp > classifier_table del mac 51:54:00:12:34:57 ring:4 - spp > classifier_table del mac 51:54:00:12:34:59 ring:5 + spp > sec 1;classifier_table del mac 51:54:00:12:34:57 ring:4 + spp > sec 1;classifier_table del mac 51:54:00:12:34:59 ring:5 .. code-block:: console -- 2.13.1