Modify the DPDK compile configure for the 40G NIC.
[csit.git] / dpdk-tests / dpdk_scripts / install_dpdk.sh
index d011f37..393465c 100755 (executable)
@@ -18,6 +18,7 @@ tar xJvf ${DPDK_PACKAGE} || \
 
 # Compile the DPDK
 cd ./${DPDK_DIR}
+sudo sed -i 's/^CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n/CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=y/g' ./config/common_base
 make install T=x86_64-native-linuxapp-gcc -j || \
     { echo "Failed to compile $DPDK_VERSION"; exit 1; }
 cd ${PWDDIR}