环境
- Ubuntu-16.04 LTS
- dpdk-16.11.3.tar.xz (LTS), from DPDK
- pktgen-3.4.2.tar
安装DPDK和Pktgen
tar -xf *.tar to extract the files
Set the environment variable:
export RTE_SDK=” (dpdk files directory, 参阅其他安装说明)
export RTE_TARGET=” (the setting of the installation)
edit the ~/.profile, reboot and make it enable(永久生效)Install the DPDK
run the ./tools/dpdk-setup.sh
then, step 1-4:- install the DPDK environment(‘x86_64-native-linuxapp-gcc’)
- setup linuxapp environment(drivers, e.g. IGB UIO; hugepage bind the network devices )
- test
- Install the pktgen
Download Pktgen and Install
直接通过github指示或者官网下载pktgen解压