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 89F451B017 for ; Tue, 16 Jan 2018 06:16:43 +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 w0G5GfVE007939 for unknown; Tue, 16 Jan 2018 14:16:42 +0900 Received: (from root@localhost) by gwchk03.silk.ntt-tx.co.jp (unknown) id w0G5GfEM025435 for unknown; Tue, 16 Jan 2018 14:16:41 +0900 Received: from gwchk.silk.ntt-tx.co.jp [10.107.0.110] by gwchk03.silk.ntt-tx.co.jp with ESMTP id QAA25433; Tue, 16 Jan 2018 14:16:41 +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 w0G5Gfjp009107 for unknown; Tue, 16 Jan 2018 14:16:41 +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 w0G5GfVN009102 for unknown; Tue, 16 Jan 2018 14:16:41 +0900 Message-Id: <201801160516.w0G5GfVN009102@imss03.silk.ntt-tx.co.jp> Received: from localhost by mgate02.silk.ntt-tx.co.jp (unknown) id w0G5Gfwm026680 ; Tue, 16 Jan 2018 14:16:41 +0900 From: x-fn-spp@sl.ntt-tx.co.jp To: spp@dpdk.org Date: Tue, 16 Jan 2018 14:16:15 +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 04/30] 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, 16 Jan 2018 05:16:44 -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 -- 1.9.1