R&D/DPDK

vpp build

sunshout 2016. 11. 19. 06:06

# Download source


make dpdk-install-dev DPDK_VERSION=17.11


~~~bash

git clone https://gerrit.fd.io/r/vpp

cd vpp

make install-dep

cd build-root

./bootstrap.sh

make V=0 PLATFORM=vpp TAG=vpp install-rpm

~~~

Debug 모드로 빌드하고 싶을 때

make V=0 PLATFORM=vpp TAG=vpp_debug install-deb

== Build lib/librte_eal/linuxapp/igb_uio

make: *** /lib/modules/3.10.0-327.el7.x86_64/build: No such file or directory.  Stop.

make[10]: *** [igb_uio.ko] Error 2

make[9]: *** [igb_uio] Error 2


yum install kernel-headers


이후 /lib/modules/<kernel_version>/build 가 symbolic link 가 제대로 걸려 있는지 확인 필요


Reference

Using VF: http://sunshout.tistory.com/1580

IOMMU: http://sunshout.tistory.com/1615