Modify the DPDK compile configure for the 40G NIC. 51/7051/2
authorFangyin Hu <fangyinx.hu@intel.com>
Thu, 8 Jun 2017 10:32:58 +0000 (03:32 -0700)
committerTibor Frank <tifrank@cisco.com>
Fri, 9 Jun 2017 06:58:45 +0000 (06:58 +0000)
Change-Id: Ifedefd53f216dd9feb55ab98ca4f5c9fddcfd024
Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
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}

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.