aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dpdk/dpdk_scripts/install_dpdk.sh
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-02-28 07:13:27 +0000
committerPeter Mikus <pmikus@cisco.com>2020-03-10 11:10:27 +0000
commit6daa2d791f0e0d41b73668ef3ee233e58987dc37 (patch)
treee04db74c43eeb297284ab9431af97438fd2f7b7d /tests/dpdk/dpdk_scripts/install_dpdk.sh
parentdddfcfb9ce358799ce2b9f53ffb8e1e594fb2cec (diff)
Make RXQs/TXQs configurable
Change-Id: Ib30bc4697fcba93a6723ee492a59a0523425f623 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/dpdk/dpdk_scripts/install_dpdk.sh')
-rwxr-xr-xtests/dpdk/dpdk_scripts/install_dpdk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dpdk/dpdk_scripts/install_dpdk.sh b/tests/dpdk/dpdk_scripts/install_dpdk.sh
index ec23aa06b1..05a922b457 100755
--- a/tests/dpdk/dpdk_scripts/install_dpdk.sh
+++ b/tests/dpdk/dpdk_scripts/install_dpdk.sh
@@ -35,8 +35,8 @@ cd ${PWDDIR}
export RTE_SDK=${ROOTDIR}/${DPDK_DIR}/
export RTE_TARGET=${ARCH}-${MACHINE}-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
+sudo sed -i 's/^#define RTE_TEST_RX_DESC_DEFAULT 128/#define RTE_TEST_RX_DESC_DEFAULT 1024/g' ./main.c
+sudo sed -i 's/^#define RTE_TEST_TX_DESC_DEFAULT 512/#define RTE_TEST_TX_DESC_DEFAULT 1024/g' ./main.c
make -j || \
{ echo "Failed to compile l3fwd"; exit 1; }
cd ${PWDDIR}