Building dpdk
04 May 2018
Building
1
2
3
4
5
6
7
8
9
10
| wget https://launchpad.net/ubuntu/+archive/primary/+files/dpdk_17.11.1-6.dsc
wget https://launchpad.net/ubuntu/+archive/primary/+files/dpdk_17.11.1.orig.tar.xz
wget https://launchpad.net/ubuntu/+archive/primary/+files/dpdk_17.11.1-6.debian.tar.xz
apt-get build-dep dpdk
apt-get install dkms libnuma-dev python3-sphinx python3-sphinx-rtd-theme
dpkg-source -x dpdk_17.11.1-6.dsc
cd dpdk-17.11.1
dpkg-buildpackage -us -uc -j4
|
1
2
3
4
5
6
| wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpdk/dpdk_17.11.2-1ubuntu0.1.dsc
wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpdk/dpdk_17.11.2.orig.tar.xz
wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpdk/dpdk_17.11.2-1ubuntu0.1.debian.tar.xz
apt-get build-dep dpdk
apt-get install libnuma-dev python3-sphinx python3-sphinx-rtd-theme
|
Build libibverbs-dev (17.1-1) first
1
2
3
4
5
| wget http://archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/rdma-core_17.1-1.dsc
wget http://archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/rdma-core_17.1.orig.tar.gz
wget http://archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/rdma-core_17.1-1.debian.tar.xz
apt-get install cmake libnl-3-dev libnl-route-3-dev libudev-dev ninja-build valgrind libibverbs-dev
dpkg-buildpackage -us -uc -j100
|
After that, build dpdk
1
2
3
4
5
| apt-get install libibverbs-dev libnuma-dev
git clone ssh://git@git0.shida.info:30022/ddp/deb_dpdk.git
make -j100 T=x86_64-native-linuxapp-gcc
~/deb_dpdk/build/kmod# cp igb_uio.ko /lib/modules/4.13.0-43-generic/updates/dkms
depmod -a
|