[ovs-dev] [PATCH v3 0/3] Convert DPDK configuration from command line to DB based

Aaron Conole aconole at redhat.com
Wed Jan 13 21:17:35 UTC 2016


Currently, configuration of DPDK parameters is done via the command line
through a --dpdk **OPTIONS** -- command line argument. This has a number of
challenges, including:
* It must be the first option passed to ovs-vswitchd
* It breaks from the way most other things are configured in OVS
* It doesn't allow an easy way to populate defaults


This series brings the following changes to openvswitch:
* All DPDK options are taken from the ovs database rather than the
  command line
* DPDK lcores are optionally auto-assigned to a single core based on the
  bridge coremask.
* Updated documentation

v2:
* Dropped the vhost-user socket configuration options. Those can be re-added
  as an extension
* Incorporated feedback from Kevin Traynor.

v3:
* Went back to a global dpdk-init
* Language cleanup and various minor fixes

Aaron Conole (3):
  netdev-dpdk: Restore thread affinity after DPDK init
  netdev-dpdk: Convert initialization from cmdline to db
  netdev-dpdk: Autofill lcore coremask if absent

 INSTALL.DPDK.md         |  81 +++++++++++++----
 lib/netdev-dpdk.c       | 229 ++++++++++++++++++++++++++++++++++++++----------
 lib/netdev-dpdk.h       |  22 +++--
 vswitchd/bridge.c       |   3 +
 vswitchd/ovs-vswitchd.c |  25 +-----
 vswitchd/vswitch.xml    | 118 ++++++++++++++++++++++++-
 6 files changed, 382 insertions(+), 96 deletions(-)

-- 
2.5.0




More information about the dev mailing list