From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.ics.ntt-tx.co.jp (mail05.ics.ntt-tx.co.jp [210.232.35.69]) by dpdk.org (Postfix) with ESMTP id A7FC31B1A9 for ; Tue, 16 Jan 2018 06:16:47 +0100 (CET) Received: from gwchk03.silk.ntt-tx.co.jp (gwchk03.silk.ntt-tx.co.jp [10.107.0.111]) by mail04.ics.ntt-tx.co.jp (unknown) with ESMTP id w0G5GklB008055 for unknown; Tue, 16 Jan 2018 14:16:46 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id w0G5Gi5h025533 for unknown; Tue, 16 Jan 2018 14:16:44 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id QAA25518; Tue, 16 Jan 2018 14:16:44 +0900 Received: from imss03.silk.ntt-tx.co.jp (localhost [127.0.0.1]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5Gh2X009247 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Received: from mgate02.silk.ntt-tx.co.jp (smtp02.silk.ntt-tx.co.jp [10.107.0.37]) by imss03.silk.ntt-tx.co.jp (unknown) with ESMTP id w0G5GhAY009223 for unknown; Tue, 16 Jan 2018 14:16:43 +0900 Message-Id: <201801160516.w0G5GhAY009223@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id w0G5GfxB026680 ; Tue, 16 Jan 2018 14:16:43 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Tue, 16 Jan 2018 14:16:38 +0900 X-Mailer: git-send-email 1.9.1 In-Reply-To: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> References: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> X-TM-AS-MML: No Subject: [spp] [PATCH 27/30] 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, 16 Jan 2018 05:16:48 -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" - } - ] - } + ] } ``` -- 1.9.1