From 1e59ee6e39f0604be721ac8ebdb36be14b738bd8 Mon Sep 17 00:00:00 2001 From: Fangyin Hu Date: Thu, 8 Jun 2017 03:32:58 -0700 Subject: [PATCH] Modify the DPDK compile configure for the 40G NIC. Change-Id: Ifedefd53f216dd9feb55ab98ca4f5c9fddcfd024 Signed-off-by: Fangyin Hu --- dpdk-tests/dpdk_scripts/install_dpdk.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dpdk-tests/dpdk_scripts/install_dpdk.sh b/dpdk-tests/dpdk_scripts/install_dpdk.sh index d011f378ef..393465cd2d 100755 --- a/dpdk-tests/dpdk_scripts/install_dpdk.sh +++ b/dpdk-tests/dpdk_scripts/install_dpdk.sh @@ -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} -- 2.16.6