From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0813.ocn.ad.jp (mogw0813.ocn.ad.jp [153.149.234.14]) by dpdk.org (Postfix) with ESMTP id 9C5A5A56E for ; Tue, 23 Jan 2018 01:28:46 +0100 (CET) Received: from mf-smf-ucb006.ocn.ad.jp (mf-smf-ucb006.ocn.ad.jp [153.149.231.5]) by mogw0813.ocn.ad.jp (Postfix) with ESMTP id 2A99620023B; Tue, 23 Jan 2018 09:28:45 +0900 (JST) Received: from mf-smf-ucb006.ocn.ad.jp (mf-smf-ucb006 [153.149.231.5]) by mf-smf-ucb006.ocn.ad.jp (Postfix) with ESMTP id 0CAC420693; Tue, 23 Jan 2018 09:28:45 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb020 (mv-mta-ucb020.ocn.ad.jp [153.149.142.83]) by mf-smf-ucb006.ocn.ad.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id w0N0SSBa043262; Tue, 23 Jan 2018 09:28:44 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.133]) by ntt.pod01.mv-mta-ucb020 with id 1cUk1x0042tKTyH01cUkFD; Tue, 23 Jan 2018 00:28:44 +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:28:44 +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 , Naoki Takada Date: Tue, 23 Jan 2018 09:28:49 +0900 Message-Id: <20180123002854.28345-4-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180123002854.28345-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180123002854.28345-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 04/28] doc: add spp_vf.md 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:28:47 -0000 From: Hiroyuki Nakamura This is a top level document for spp_vf. setup_guide or other documents are refererd from it. Signed-off-by: Naoki Takada --- docs/spp_vf/spp_vf.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 docs/spp_vf/spp_vf.md diff --git a/docs/spp_vf/spp_vf.md b/docs/spp_vf/spp_vf.md new file mode 100644 index 0000000..6587249 --- /dev/null +++ b/docs/spp_vf/spp_vf.md @@ -0,0 +1,48 @@ +# SPP_VF + +SPP_VF is a SR-IOV like network functionality using DPDK for NFV. + +![spp_vf_overview](spp_vf_overview.svg) + +## Overview + +The application distributes incoming packets depends on MAC address +similar to SR-IOV functionality. +Network configuration is defined in JSON config file which is imported +while launching the application. +The configuration is able to change by sending commnad from spp after +initialization. + +SPP_VF is a multi-thread application. +It consists of manager thread and forwarder threads. +There are three types of forwarder for 1:1, 1:N and N:1. + + * forward: 1:1 + * classifier_mac: 1:N (Destination is determined by MAC address) + * merge: N:1 + +This is an example of network configration, in which one classifier_mac, +one merger and four forwarders are runnig in spp_vf process for two +destinations of vhost interface. +Incoming packets from rx on host1 are sent to each of vhosts on guest +by looking MAC address in the packet.. + +![spp_vf_overview](spp_vf_overview.svg) + +## Build the Application + +See [setup_guide](setup_guide.md). + +## Running the Application + +See [how_to_use](how_to_use.md). + +## Explanation + +The following sections provide some explanation of the code. + +### Configuration + +### Forwarding + +### Packet Cloning -- 2.13.1