3 if [ $DIB_DEV_IMAGE != "loopvm" ]; then
10 # pick up the kernel version for the target image
11 kernel_version=`ls -t /lib/modules | awk 'NR==1 {print}'`
14 wget http://fast.dpdk.org/rel/$DPDK.tar.xz
18 export RTE_KERNELDIR=/lib/modules/$kernel_version/build
20 make -j4 install T=x86_64-native-linuxapp-gcc
22 cp x86_64-native-linuxapp-gcc/app/testpmd ../dpdk
23 cp x86_64-native-linuxapp-gcc/kmod/igb_uio.ko ../dpdk
24 echo "set promisc all off" > /dpdk/testpmd_cmd.txt