Date created: 03/10/17 12:25:26. Last modified: 06/10/20 12:33:10

OpenVSwitch with DPDK Install

# DPDK pre-req's

sudo yum install make coreutils.x86_64 gcc glibc-devel.x86_64 kernel-devel.x86_64 kernel-headers.x86_64

# Ubuntu
sudo apt-get install make coreutils libc6-dev linux-headers-$(uname -r) build-essential libnuma-dev python

# DPDK build

cd /usr/src/dpdk-16.11/
export DPDK_DIR=/usr/src/dpdk-16.11
export DPDK_TARGET=x86_64-native-linuxapp-gcc

sudo make install T=$DPDK_TARGET DESTDIR=install

# When getting this error
make: *** /lib/modules/3.10.0-514.6.2.el7.x86_64/build: No such file or directory.  Stop.
# there was a newer kernel version available:
$ uname -a
Linux localhost.localdomain 3.10.0-514.6.2.el7.x86_64
# Ran a "sudo yum upate" and installed kernel-3.10.0-514.10.2.el7.x86_64

# OVS pre-req's

sudo yum install openssl-devel.x86_64 libcap-ng-devel.x86_64 libcap-ng.x86_64 python python-six.noarch autoconf.noarch automake.noarch libtool.x86_64

# OVS build
cd /usr/src/openvswitch-2.7.0
./configure --with-dpdk=$DPDK_BUILD
sudo make install

Previous page: MoonGen
Next page: Pound Proxy