diff options
author | pmikus <pmikus@cisco.com> | 2017-04-03 12:34:32 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-04-05 04:47:50 +0000 |
commit | 44270521c22729cf6d58ea63ba6ddd1aa535b1c5 (patch) | |
tree | a44c46eeb99b1079e1e3975cba45f5dc8124f15d /dpdk-tests/dpdk_scripts/init_dpdk.sh | |
parent | 5a04f6ddb56fefcc96452b4fe938616da309388f (diff) |
Apply performance options for testpmd
- Add parameters to increase the performance of SUTs
Change-Id: Ia9c5d76639bd931d8113c26e18861648de395322
Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'dpdk-tests/dpdk_scripts/init_dpdk.sh')
-rwxr-xr-x | dpdk-tests/dpdk_scripts/init_dpdk.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dpdk-tests/dpdk_scripts/init_dpdk.sh b/dpdk-tests/dpdk_scripts/init_dpdk.sh index 9870f49f42..20f86f335e 100755 --- a/dpdk-tests/dpdk_scripts/init_dpdk.sh +++ b/dpdk-tests/dpdk_scripts/init_dpdk.sh @@ -15,21 +15,21 @@ lsmod | grep igb_uio if [ $? -ne 1 ]; then rmmod igb_uio || \ - echo "Failed to remove igb_uio module" || exit 1 + { echo "Failed to remove igb_uio module"; exit 1; } fi lsmod | grep uio_pci_generic if [ $? -ne 1 ]; then rmmod uio_pci_generic || \ - echo "Failed to remove uio_pci_generic module" || exit 1 + { echo "Failed to remove uio_pci_generic module"; exit 1; } fi insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko || \ - echo "Failed to insert igb_uio module" || exit 1 + { echo "Failed to insert igb_uio module"; exit 1; } # Binding ./usertools/dpdk-devbind.py -b igb_uio $1 $2 || \ - echo "Failed to bind interface $1 and $2 to igb_uio" || exit 1 + { echo "Failed to bind interface $1 and $2 to igb_uio"; exit 1; } cd ${PWDDIR} |