aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk-tests/dpdk_scripts
diff options
context:
space:
mode:
authorFangyin Hu <fangyinx.hu@intel.com>2017-06-08 03:32:58 -0700
committerTibor Frank <tifrank@cisco.com>2017-06-09 06:58:45 +0000
commit1e59ee6e39f0604be721ac8ebdb36be14b738bd8 (patch)
tree7df8fca3c3f3668f245c2e61878cd693f6d2b38f /dpdk-tests/dpdk_scripts
parent430afafb4cadf503ccee99c09f6de7402f5404c7 (diff)
Modify the DPDK compile configure for the 40G NIC.
Change-Id: Ifedefd53f216dd9feb55ab98ca4f5c9fddcfd024 Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
Diffstat (limited to 'dpdk-tests/dpdk_scripts')
-rwxr-xr-xdpdk-tests/dpdk_scripts/install_dpdk.sh1
1 files changed, 1 insertions, 0 deletions
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}