diff options
Diffstat (limited to 'dpdk-tests/dpdk_scripts/init_dpdk.sh')
-rwxr-xr-x | dpdk-tests/dpdk_scripts/init_dpdk.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dpdk-tests/dpdk_scripts/init_dpdk.sh b/dpdk-tests/dpdk_scripts/init_dpdk.sh deleted file mode 100755 index bc4870e73e..0000000000 --- a/dpdk-tests/dpdk_scripts/init_dpdk.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -set -x - -# Setting variables -DPDK_VERSION=dpdk-17.05 -ROOTDIR=/tmp/openvpp-testing -PWDDIR=$(pwd) -cd ${ROOTDIR}/${DPDK_VERSION}/ - -modprobe uio -echo "RC = $?" - -lsmod | grep igb_uio -if [ $? -ne 1 ]; -then - rmmod igb_uio || \ - { 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; } -fi - -insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko || \ - { 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; } - -cd ${PWDDIR} |