Three Ways to Build DPDK 2.0.0 with Open vSwitch

SDK Setup Script

One of the best method to build the DPDK package is to use DPDK's tools/ script. Use the following steps after running the script:

                   - Press [9] to compile the package
                   - Press [12] to install the driver
                   - Press [16] to setup 1024 2MB hugepages
                   - Press [17] to register the Ethernet ports
                   - Press [30] to quit the tool

To verify check that DPDK package creates a new directory of compiled libraries. For x86_64 machines, the new subdirectory should be


Now change directories to the Open vSwitch source code and build as follows:

./configure --with-dpdk=../dpdk-2.0.0/x86_64-native-linuxapp-gcc/

Bash Script

We went into greater detail on building and running OVS and DPDK for supporting vhost-user and offered a bash script as a band-aide until Open vSwitch is released.   This bash script checks of v2.4.0 is released and otherwise builds the trunk and includes specific configuration patches.

chmod +x

Note:  The patch sets included in the body of the script need updating time to time.

OPNFV vSwitch Performance Project

git clone
cd vswitchperf/src

I was able to make a few simple changes to the existing file and build a custom integration for my use case.

diff --git a/src/ b/src/ index 0dbdbd2..cfde84e 100644
--- a/src/
+++ b/src/
@@ -6,8 +6,8 @@
 # dpdk section
 # DPDK_URL ?= git://
-DPDK_TAG ?= v1.8.0
+DPDK_TAG ?= v2.0.0

 # OVS section
-OVS_TAG ?= da79ce2b71dd879e7f20fdddc715568f6a74185a
+# OVS_TAG ?= da79ce2b71dd879e7f20fdddc715568f6a74185a

Whichever method works for you, we are ready to test any OVS 2.4 release candidate and DPDK 2.0.0.

For more complete information about compiler optimizations, see our Optimization Notice.