[ovs-dev] [PATCH 0/9] Openvswitch: Add support Intel DPDK ports

Pravin pshelar at nicira.com
Tue Mar 18 20:52:53 UTC 2014


Following patch adds DPDK netdev-class to userspace datapath.
Approach taken in this patch differs from Intel DPDK vSwitch
where DPDK datapath switching is done in saparate process.  This
patch adds support for DPDK type port and uses OVS userspace
datapath for switching.  Therefore all DPDK processing and flow
miss handling is done in single process.  This also avoids code
duplication by reusing OVS userspace datapath switching and
therefore it supports all flow matching and actions that
user-space datapath supports.  Refer to INSTALL.DPDK doc for
further info.

First seven patch are preparation for DPDK patch.

Pravin (9):
  netdev: Extend rx_recv to pass multiple packets.
  netdev: Send ofpuf directly to netdev.
  dpif-netdev: Add ref-counting for port.
  dpif-netdev: Add poll-mode-device thread.
  netdev: Rename netdev_rx to netdev_rxq
  netdev: Add support multiqueue recv.
  ofpbuf: Add OFPBUF_DPDK type.
  dpif-netdev: Add DPDK netdev.
  netdev-dpdk: Use multiple core for dpdk IO.

 INSTALL                 |    1 +
 INSTALL.DPDK            |   91 ++++
 Makefile.am             |    1 +
 acinclude.m4            |   29 ++
 configure.ac            |    1 +
 lib/automake.mk         |    7 +
 lib/dpif-netdev.c       |  407 ++++++++++------
 lib/dpif-netdev.h       |   43 ++
 lib/netdev-dpdk.c       | 1188 +++++++++++++++++++++++++++++++++++++++++++++++
 lib/netdev-dpdk.h       |   24 +
 lib/netdev-dummy.c      |  115 +++--
 lib/netdev-linux.c      |   93 ++--
 lib/netdev-provider.h   |   74 ++-
 lib/netdev.c            |   87 ++--
 lib/netdev.h            |   32 +-
 lib/ofpbuf.c            |   19 +-
 lib/ofpbuf.h            |    3 +-
 lib/ovs-thread.c        |   22 +
 lib/ovs-thread.h        |    2 +
 lib/packets.c           |    9 +
 lib/packets.h           |    1 +
 vswitchd/ovs-vswitchd.c |   16 +-
 22 files changed, 1938 insertions(+), 327 deletions(-)
 create mode 100644 INSTALL.DPDK
 create mode 100644 lib/dpif-netdev.h
 create mode 100644 lib/netdev-dpdk.c
 create mode 100644 lib/netdev-dpdk.h

-- 
1.7.9.5




More information about the dev mailing list