From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0215.ocn.ad.jp (mogw0215.ocn.ad.jp [114.147.58.21]) by dpdk.org (Postfix) with ESMTP id 2378A1B1D0 for ; Mon, 5 Feb 2018 03:42:10 +0100 (CET) Received: from mf-smf-ucb017.ocn.ad.jp (mf-smf-ucb017.ocn.ad.jp [153.149.227.66]) by mogw0215.ocn.ad.jp (Postfix) with ESMTP id B281B2342EB; Mon, 5 Feb 2018 11:42:08 +0900 (JST) Received: from mf-smf-ucb017.ocn.ad.jp (mf-smf-ucb017 [153.149.227.66]) by mf-smf-ucb017.ocn.ad.jp (Postfix) with ESMTP id 9AF3740603; Mon, 5 Feb 2018 11:42:08 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb027 (mv-mta-ucb027.ocn.ad.jp [153.149.142.101]) by mf-smf-ucb017.ocn.ad.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id w152g6d4018435; Mon, 5 Feb 2018 11:42:08 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.135]) by ntt.pod01.mv-mta-ucb027 with id 6qi71x0082vuoep01qi7An; Mon, 05 Feb 2018 02:42:08 +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:42:07 +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:42:38 +0900 Message-Id: <20180205024238.7911-1-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 Subject: [spp] [PATCH 22/28] docs: update spp_vf design section 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:42:10 -0000 From: Yasufumi Ogawa Signed-off-by: Yasufumi Ogawa --- docs/guides/spp_vf/design.rst | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/docs/guides/spp_vf/design.rst b/docs/guides/spp_vf/design.rst index 5938518..3c81134 100644 --- a/docs/guides/spp_vf/design.rst +++ b/docs/guides/spp_vf/design.rst @@ -36,7 +36,9 @@ Design Components ---------- -``spp_vf`` supports three types of components, ``forwarder``, +``spp_vf`` is a kind of secondary process and consists of several +threads called component. +There are three types of components, ``forwarder``, ``merger`` and ``classifier``. .. image:: images/spp_vf_overview.svg @@ -46,34 +48,26 @@ Components Forwarder ~~~~~~~~~ -This component provides function for packet processing from one port -to one port. -Incoming packets from port are to be transferred to specific one port. -The direction of this transferring is specified by ``port`` command. -The concept of port is described later of this section. +Simply forwards packets from rx to tx port. Merger ~~~~~~ -This component provides packet forwarding function from multiple ports -to one port. -Incoming packets from multiple ports are to be transferred to one -specific port. -The flow of this merging process is specified by `port` command. +Receives packets from multiple rx ports to aggregate +packets and sends to a desctination port. Classifier ~~~~~~~~~~ -This component provides packet forwarding function from one port to -one port. -Classifier has table of virtual MAC address(A). According to this table, -classifier lookups L2 destination MAC address and determines which port -to be transferred to incoming packets. -This component also supports vlan-tag(TPID:0x8100), and has the virtual -MAC tables for each VID(B). If the TPID of incoming packet equals -0x8100, -then lookup these tables(B) and determines which port to be transferred. -Otherwise, incoming packet is transferred according to table(A). +Sends packets to multiple tx ports based on entries of +MAC address and destination port in a classifier table. +This component also supports VLAN tag. + +For VLAN addressing, classifier has other tables than defalut. +Classifier prepares tables for each of VLAN ID and decides +which of table is referred +if TPID (Tag Protocol Indetifier) is included in a packet and +equals to 0x8100 as defined in IEEE 802.1Q standard. Ports -- 2.13.1