From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id CC8A92C6E for ; Mon, 15 Jan 2018 12:04:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2018 03:04:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,363,1511856000"; d="scan'208";a="10354615" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.48]) ([10.237.220.48]) by fmsmga008.fm.intel.com with ESMTP; 15 Jan 2018 03:04:49 -0800 To: Nakamura Hioryuki , spp@dpdk.org References: <201712250441.vBP4fm8D010099@ccmail04.silk.ntt-tx.co.jp> From: Ferruh Yigit Message-ID: <3e13a243-6c3f-d849-f2f4-67732e5a44cb@intel.com> Date: Mon, 15 Jan 2018 11:04:43 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <201712250441.vBP4fm8D010099@ccmail04.silk.ntt-tx.co.jp> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: Mon, 15 Jan 2018 11:04:51 -0000 On 12/25/2017 4:41 AM, 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. Series applied, thanks.