[spp] Proposal - spp_vf(SR-IOV like feature) addition to SPP

Yasufumi Ogawa ogawa.yasufumi at lab.ntt.co.jp
Tue Dec 26 02:54:04 CET 2017


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



More information about the spp mailing list