Soft Patch Panel
 help / color / mirror / Atom feed
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 <nakamura.hioryuki@po.ntt-tx.co.jp>,
	Kentaro Watanabe <watanabe.kentaro.z01@as.ntt-tx.co.jp>,
	Naoki Takada <takada.naoki@lab.ntt.co.jp>
Subject: [spp] [PATCH 25/28] doc: remove description on classifier_table
Date: Tue, 23 Jan 2018 09:30:18 +0900	[thread overview]
Message-ID: <20180123003021.28557-6-ogawa.yasufumi@lab.ntt.co.jp> (raw)
In-Reply-To: <20180123003021.28557-1-ogawa.yasufumi@lab.ntt.co.jp>

From: Hiroyuki Nakamura <nakamura.hioryuki@po.ntt-tx.co.jp>

Since classifire_table is being configured with commands and removed
from configuration file, description on classifier_table is removed.

Signed-off-by: Kentaro Watanabe <watanabe.kentaro.z01@as.ntt-tx.co.jp>
Signed-off-by: Naoki Takada <takada.naoki@lab.ntt.co.jp>
---
 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

  parent reply	other threads:[~2018-01-23  0:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  0:30 [spp] [PATCH 20/28] doc: fix vm setup procedure for network config ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 21/28] doc: update jansson installation procedure ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 22/28] doc: fix required network configuration ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 23/28] doc: add how to use vhost-user support ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 24/28] doc: add references to hugepages and isolcpus ogawa.yasufumi
2018-01-23  0:30 ` ogawa.yasufumi [this message]
2018-01-23  0:30 ` [spp] [PATCH 26/28] doc: fix typos and erros in texts ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 27/28] doc: update sample config section ogawa.yasufumi
2018-01-23  0:30 ` [spp] [PATCH 28/28] doc: align figure title position ogawa.yasufumi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180123003021.28557-6-ogawa.yasufumi@lab.ntt.co.jp \
    --to=ogawa.yasufumi@lab.ntt.co.jp \
    --cc=ferruh.yigit@intel.com \
    --cc=nakamura.hioryuki@po.ntt-tx.co.jp \
    --cc=spp@dpdk.org \
    --cc=takada.naoki@lab.ntt.co.jp \
    --cc=watanabe.kentaro.z01@as.ntt-tx.co.jp \
    --cc=x-fn-spp@sl.ntt-tx.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).