I typically used 2 vpp instances, one doing xconnect between physical NIC and 
memif interface, another VPP instance routing between 2 memif interfaces.

i.e.

trex-port1 — (p)vpp1(m) — (m)vpp2(m) — (m)vpp1(p) — trex-port2

Where (p) is physical nic interface, and (m) is memif interface.

On the VPP2 i typically use ip4 routing but you can simply move those interface 
to l2 mode and do xconnect or even better “l2 patch”.


> On 23 Aug 2019, at 16:52, William Tu <u9012...@gmail.com> wrote:
> 
> Hi,
> 
> I'm looking for something like l2fwd application using memif interfaces.
> So at a container, simply receive packets from one memif port, and forward
> to another memif port.
> 
> I'm trying to measure the performance in slide
> Memif Performance – L2
> https://events.linuxfoundation.org/wp-content/uploads/2017/12/Accelerate-the-Development-of-Cloud-native-VNFs-Giles-Heron-Maciek-Konstantynowicz-Cisco.pdf
> Using the NF App in Cont1.
> 
> Thank you
> William
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13834): https://lists.fd.io/g/vpp-dev/message/13834
> Mute This Topic: https://lists.fd.io/mt/33002049/675642
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13835): https://lists.fd.io/g/vpp-dev/message/13835
Mute This Topic: https://lists.fd.io/mt/33002049/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to