aboutsummaryrefslogtreecommitdiffstats
path: root/dpdk-tests
diff options
context:
space:
mode:
authorFangyin Hu <fangyinx.hu@intel.com>2017-06-19 02:20:48 -0700
committerPeter Mikus <pmikus@cisco.com>2017-06-21 05:23:24 +0000
commit780238d888cc9c513625bb09dbf547b02b0e2c47 (patch)
tree691c82403fff64adab15307c3e23fc148d24468a /dpdk-tests
parent6ef115df8ae19dae2e6f9b89c53988f54cba1876 (diff)
config the l3fwd and change the traffic.
Change-Id: Id410f5a1fbef8e21206aff668a9a76549e2f7c4a Signed-off-by: Fangyin Hu <fangyinx.hu@intel.com>
Diffstat (limited to 'dpdk-tests')
-rwxr-xr-xdpdk-tests/dpdk_scripts/install_dpdk.sh2
-rw-r--r--dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot2
2 files changed, 3 insertions, 1 deletions
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}
diff --git a/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot b/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot
index 31afdc15a1..e6ea0e2e31 100644
--- a/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot
+++ b/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot
@@ -48,7 +48,7 @@
# X520-DA2 bandwidth limit
| ${s_limit} | ${10000000000}
# Traffic profile:
-| ${traffic_profile} | trex-sl-3n-ethip4-ip4dst253
+| ${traffic_profile} | trex-sl-3n-ethip4-ip4dst253_l3fwd
*** Test Cases ***
| tc01-64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc