valmikroy
5/17/2018 - 5:41 PM

compile DPDK on Ubuntu

compile DPDK on Ubuntu


sudo apt-get update
sudo apt-get install git build-essential linux-headers-`uname -r` libnuma-dev cmake  pciutils

git clone http://dpdk.org/git/dpdk

cd dpdk

make config T=x86_64-native-linuxapp-gcc
make

export RTE_SDK=`pwd`
export RTE_TARGET=x86_64-native-linuxapp-gcc
make install T=$RTE_TARGET DESTDIR=install


git clone https://github.com/emmericp/MoonGen.git
cd MoonGen
./build.sh


sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D4284CDD
echo "deb https://repo.iovisor.org/apt/xenial xenial main" | sudo tee /etc/apt/sources.list.d/iovisor.list
sudo apt-get update
sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)