Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
config the l3fwd and change the traffic.
[csit.git]
/
dpdk-tests
/
dpdk_scripts
/
install_dpdk.sh
diff --git
a/dpdk-tests/dpdk_scripts/install_dpdk.sh
b/dpdk-tests/dpdk_scripts/install_dpdk.sh
index
393465c
..
126e8ca
100755
(executable)
--- 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
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}
make -j || \
{ echo "Failed to compile l3fwd"; exit 1; }
cd ${PWDDIR}