From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama500.ecl.ntt.co.jp (tama500.ecl.ntt.co.jp [129.60.39.148]) by dpdk.org (Postfix) with ESMTP id B34B61B36C for ; Tue, 26 Dec 2017 02:55:54 +0100 (CET) Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id vBQ1tnpt011662; Tue, 26 Dec 2017 10:55:49 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id F0A5B60292; Tue, 26 Dec 2017 10:55:46 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id E2B025F593; Tue, 26 Dec 2017 10:55:46 +0900 (JST) Received: from [IPv6:::1] (watercress.nslab.ecl.ntt.co.jp [129.60.13.73]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id D94AF400C71; Tue, 26 Dec 2017 10:55:46 +0900 (JST) References: <201712250441.vBP4fm8D010099@ccmail04.silk.ntt-tx.co.jp> From: Yasufumi Ogawa Message-ID: <4aae78ff-3b6c-cdfe-a8b7-24ec08b73935@lab.ntt.co.jp> Date: Tue, 26 Dec 2017 10:54:04 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <201712250441.vBP4fm8D010099@ccmail04.silk.ntt-tx.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit To: Nakamura Hioryuki , spp@dpdk.org X-TM-AS-MML: disable Subject: Re: [spp] Proposal - spp_vf(SR-IOV like feature) addition to SPP 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, 26 Dec 2017 01:55:55 -0000 Hi, Thanks Hiroyuki for proposing new feature. I did not tell you the link of reference. [1] https://dpdksummit.com/Archive/pdf/2017USA/Implementation%20and%20Testing%20of%20Soft%20Patch%20Panel.pdf I'm waiting for your patches! Thanks, Yasufumi On 2017/12/25 13:41, Nakamura Hioryuki wrote: > Hi everyone, > > As announced in DPDK Summit, we would like to introduce a SR-IOV like network > functionality to SPP on DPDK17.08[1]. > > To support such functionality, we have developed new > controller(spp_vf.py) and secondary process(spp_vf). > > spp_vf process has three kinds of component, classifier, forwarder and merger. > These components communicate each other via ring-pmd, > and provides SR-IOV like packet classification function according to virtual > MAC address. > > Classifier: > This component provides packet forwarding function from one port to one port. > Classifier has table of virtual MAC address. > According to this table, classifier lookups L2 destination MAC address > and determines which port to be transferred to incoming packets. > L2 Multicast feature is also supported. > > Forwarder: > This 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. > > 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. > > By the combination of these component, following SR-IOV like function can be configured. > > +----------+ +-----------+ > |Classifier|->ringPMD->|Forwarder#1|->vhost->VM#1 --------+ > Packet(dstMAC:A/B) | | +-----------+ (vMAC:A) | > ------phy--------> | | +-----------+ | > | |->ringPMD->|Forwarder#2|->vhost->VM#2 ---+ | > | | +-----------+ (vMAC:B)| | > +----------+ | | > | | > +----------+ +-----------+ | | > |Merger |<-ringPMD<-|Forwarder#3|<-vhost --==----------+ > | | +-----------+ | > <------phy--------| | +-----------+ | > | |<-ringPMD<-|Forwarder#4|<-vhost ---------+ > +----------+ +-----------+ > > Limitaion#1: vlan support is not yet, this feature is in still our backlogs. > Limitaion#2: Support DPDK17.11 is not yet. > > Code changes will be posted in the following emails. > > Regard, > > > -- Hiroyuki Nakamura > NTT TechnoCross Corporation > > > > -- Yasufumi Ogawa NTT Network Service Systems Labs