[ovs-dev] [PATCH v3 0/4] DPDK: simplify configuration

Daniele Di Proietto diproiettod at vmware.com
Fri May 22 16:14:18 UTC 2015


This series improves OVS configuration with DPDK in two ways:

* netdev-dpdk is patched to work with smaller NICs (without lots of
  transmission queues).
* DPDK non-EAL threads are used:  with this change we can avoid
  reserving core 0 for non PMD operations

v2 -> v3:

* I've dropped the patch that introduces the 'n_cores'. That needs
  more work and I'd prefer to send it separately (while the fixes
  introduced with this series are more urgent IMHO).
* Using DPDK non-EAL threads.

Daniele Di Proietto (4):
  ovs-numa: Change 'core_id' to unsigned.
  netdev-dpdk: Properly support non pmd threads.
  netdev-dpdk: Use specific spinlock for stats.
  netdev-dpdk: Adapt the requested number of tx and rx queues.

 INSTALL.DPDK.md               |   3 -
 lib/dpctl.c                   |   6 ++
 lib/dpif-netdev.c             |  31 +++++-----
 lib/dpif.c                    |   6 +-
 lib/dpif.h                    |  16 +++---
 lib/netdev-dpdk.c             | 129 ++++++++++++++++++++++++++++--------------
 lib/netdev-dpdk.h             |  20 ++-----
 lib/netdev-provider.h         |  11 ++++
 lib/netdev.c                  |  10 ++++
 lib/ovs-numa.c                |  20 +++----
 lib/ovs-numa.h                |  30 +++++-----
 lib/ovs-thread.c              |   2 -
 ofproto/ofproto-dpif-upcall.c |  12 ++--
 vswitchd/vswitch.xml          |   2 +-
 14 files changed, 179 insertions(+), 119 deletions(-)

-- 
2.1.4




More information about the dev mailing list