From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0912.ocn.ad.jp (mogw0912.ocn.ad.jp [153.149.227.18]) by dpdk.org (Postfix) with ESMTP id 89AC2A568 for ; Tue, 23 Jan 2018 01:30:14 +0100 (CET) Received: from mf-smf-ucb003.ocn.ad.jp (mf-smf-ucb003.ocn.ad.jp [153.149.227.5]) by mogw0912.ocn.ad.jp (Postfix) with ESMTP id EBB7B18023A; Tue, 23 Jan 2018 09:30:12 +0900 (JST) Received: from mf-smf-ucb003.ocn.ad.jp (mf-smf-ucb003 [153.149.227.5]) by mf-smf-ucb003.ocn.ad.jp (Postfix) with ESMTP id D069DC05CF; Tue, 23 Jan 2018 09:30:12 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb021 (mv-mta-ucb021.ocn.ad.jp [153.149.142.84]) by mf-smf-ucb003.ocn.ad.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id w0N0U7O4009593; Tue, 23 Jan 2018 09:30:12 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.135]) by ntt.pod01.mv-mta-ucb021 with id 1cWC1x0072vuoep01cWCEB; Tue, 23 Jan 2018 00:30:12 +0000 Received: from mugwort.jp (p1247-ipngn8903marunouchi.tokyo.ocn.ne.jp [153.221.64.247]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Tue, 23 Jan 2018 09:30:12 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com, x-fn-spp@sl.ntt-tx.co.jp Cc: Hiroyuki Nakamura , Kentaro Watanabe , Naoki Takada Date: Tue, 23 Jan 2018 09:30:18 +0900 Message-Id: <20180123003021.28557-6-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180123003021.28557-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180123003021.28557-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 25/28] doc: remove description on classifier_table 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, 23 Jan 2018 00:30:15 -0000 From: Hiroyuki Nakamura Since classifire_table is being configured with commands and removed from configuration file, description on classifier_table is removed. Signed-off-by: Kentaro Watanabe Signed-off-by: Naoki Takada --- docs/spp_vf/config_manual.md | 39 ++++----------------------------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/docs/spp_vf/config_manual.md b/docs/spp_vf/config_manual.md index f049407..05a342c 100644 --- a/docs/spp_vf/config_manual.md +++ b/docs/spp_vf/config_manual.md @@ -27,10 +27,7 @@ For example, resource ID of physical NIC of ID 0 is described as `phy:0`. ## Config Format Config files is described in JSON format. -It consists of `vfs` and `classifier_table`. -`vfs` defines each of spp_vf attributes and -`classifier_table` defines MAC address and correnpond port for -determining destination. +Config file consists of `vfs` and defines the spp_vf attribute. ### Attributes in Config @@ -42,14 +39,7 @@ determining destination. * core: Core ID forwarder running on. * type: Forwarder type (`forward`, `classifier_mac`, or `merger`). * rx_port: Resource ID(s) of rx port. - * tx_port: Resource ID of tx port. If 1:N, which means the dest is `classifier_mac`, - directly described as `classifier_mac_table`. - - * classifier_table - * name: Table name for classifier_mac, It MUST be "classifier_mac_table" in current implementation - * table: Set of MAC address and port for destination - * mac: MAC address - * port: Resource ID of port + * tx_port: Resource ID(s) of tx port. ## Sample Config @@ -73,7 +63,7 @@ Here is default config `spp.json` and network diagram of it. "core": 3, "type": "classifier_mac", "rx_port": "ring:8", // Rx port, It is not a list because type is classifier_mac - "tx_port_table": "classifier_mac_table" // If type is classifier_mac, tx is classifier_mac_table + "tx_port": ["ring:0", "ring:1", "ring:4", "ring:5"] }, { @@ -139,28 +129,7 @@ Here is default config `spp.json` and network diagram of it. } ] } - ], - "classifier_table": { - "name":"classifier_mac_table", - "table": [ - { - "mac":"52:54:00:12:34:56", - "port":"ring:0" - }, - { - "mac":"52:54:00:12:34:57", - "port":"ring:4" - }, - { - "mac":"52:54:00:12:34:58", - "port":"ring:1" - }, - { - "mac":"52:54:00:12:34:59", - "port":"ring:5" - } - ] - } + ] } ``` -- 2.13.1