X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=dpdk-tests%2Fdpdk_scripts%2Finstall_dpdk.sh;h=126e8cafc0419d849dddde132d0b3dc57bb42378;hp=393465cd2def44761d5323d4fdfb9f81e8f43d5d;hb=780238d888cc9c513625bb09dbf547b02b0e2c47;hpb=6ef115df8ae19dae2e6f9b89c53988f54cba1876 diff --git a/dpdk-tests/dpdk_scripts/install_dpdk.sh b/dpdk-tests/dpdk_scripts/install_dpdk.sh index 393465cd2d..126e8cafc0 100755 --- a/dpdk-tests/dpdk_scripts/install_dpdk.sh +++ b/dpdk-tests/dpdk_scripts/install_dpdk.sh @@ -27,6 +27,8 @@ cd ${PWDDIR} export RTE_SDK=${ROOTDIR}/${DPDK_DIR}/ export RTE_TARGET=x86_64-native-linuxapp-gcc cd ${RTE_SDK}/examples/l3fwd +sudo sed -i 's/^#define RTE_TEST_RX_DESC_DEFAULT 128/#define RTE_TEST_RX_DESC_DEFAULT 2048/g' ./main.c +sudo sed -i 's/^#define RTE_TEST_TX_DESC_DEFAULT 512/#define RTE_TEST_TX_DESC_DEFAULT 2048/g' ./main.c make -j || \ { echo "Failed to compile l3fwd"; exit 1; } cd ${PWDDIR}