diff options
author | Fangyin Hu <fangyinx.hu@intel.com> | 2017-06-19 02:20:48 -0700 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-06-21 05:23:24 +0000 |
commit | 780238d888cc9c513625bb09dbf547b02b0e2c47 (patch) | |
tree | 691c82403fff64adab15307c3e23fc148d24468a /dpdk-tests/dpdk_scripts/install_dpdk.sh | |
parent | 6ef115df8ae19dae2e6f9b89c53988f54cba1876 (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/dpdk_scripts/install_dpdk.sh')
-rwxr-xr-x | dpdk-tests/dpdk_scripts/install_dpdk.sh | 2 |
1 files changed, 2 insertions, 0 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} |