summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2020-05-28 12:57:46 +0200
committerLuc Provoost <luc.provoost@intel.com>2020-05-28 12:57:46 +0200
commitb3c5a6a20926dc9fca32240b89f3dea09d07aa02 (patch)
tree6753e77e0dd1445d9a55181b282077566a124453 /VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh
parent8f21fb5ed8231125bca3cec1329d9fd739f14684 (diff)
IPV6 testing & minor changes and fixes
IPV6 test has been added. The generator will now generate IPV6 packets using NDP to resolve MAC addresses. The hex IP addresses in the inline definition of the packets in the cfg files is now calculated by a lua function called in parameters.lua. The hard-coded path /home/centos has been replaced by ~. An error in the speed calculations has been fixed. See the RapidTest class for details. The actual number of generated flows is now reported. If the requested number of flows is not a power of 2, the lowest power of 2 that is larger than the requested number of flows will be used and reported. Change-Id: I36b8d345b4a03c2cf358c19ec353ca8ad2831293 Signed-off-by: Luc Provoost <luc.provoost@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh')
-rwxr-xr-xVNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh b/VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh
index ac6ccaa1..f2e3fe29 100755
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/devbind.sh
@@ -2,7 +2,7 @@ link="$(sudo ip -o link | grep MACADDRESS |cut -d":" -f 2)"
if [ -n "$link" ];
then
echo Need to bind
- sudo ~/dpdk/usertools/dpdk-devbind.py --force --bind igb_uio $(sudo ~/dpdk/usertools/dpdk-devbind.py --status |grep $link | cut -d" " -f 1)
+ sudo /opt/rapid/dpdk/usertools/dpdk-devbind.py --force --bind igb_uio $(sudo /opt/rapid/dpdk/usertools/dpdk-devbind.py --status |grep $link | cut -d" " -f 1)
else
echo Assuming port is already bound to DPDK
fi