Current HW offloading solutions use embedded switches to offload OVS DP
rules while using SRIOV pass-through interfaces to the guest VMs. This
architecture requires the VM guests to install vendor specific drivers
and is challenging for live-migration. Such caveats may force some users
to fall back to SW performance while using virtio interfaces.

VirtIO performance can be improved by using the HW offloading model
while bridging packets from VF ports to virtio ports.
The bridging logic can be implemented using simple OVS OF rules defining
port-to-port forwarding between VF and virtio interfaces such as:
ovs-ofctl add-flow br-fwd in_port=<VIRTIO>,actions:output=<VF>
ovs-ofctl add-flow br-fwd in_port=<VF>,actions:output=<VIRTIO>

This patch-set accelerates the port-to-port forwarding performance by
generalizing the current patch port peer option to all port types. Once
defined, the OVS DP will forward all the packets that are received by
the port to its specified peer.
This optimization effectively bypasses the packet parsing and rule
matching logic, thus increasing the forwarding performance by more than
2X.


Eli Britstein (6):
  netdev: Introduce peer port name as a netdevice class property
  netdev-vport: Use generic peer port name API for patch ports
  ofproto-dpif: Use peer port as a generic netdev property
  netdev-dpdk: Introduce peer name property for dpdk ports
  ofproto-dpif: Introduce peer port netdev as a netdev property
  dpif-netdev: Accelerate peer port forwarding by bypassing DP
    processing

 lib/dpif-netdev.c      | 17 ++++++++++---
 lib/netdev-dpdk.c      | 55 +++++++++++++++++++++++++++++++++++++++---
 lib/netdev-provider.h  |  7 ++++++
 lib/netdev-vport.c     | 40 ++++++++++++------------------
 lib/netdev-vport.h     |  2 --
 lib/netdev.c           | 18 ++++++++++++++
 lib/netdev.h           |  2 ++
 ofproto/ofproto-dpif.c | 14 +++++------
 8 files changed, 114 insertions(+), 41 deletions(-)

-- 
2.17.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to