Code Review
/
samplevnf.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Code rewrite and Python3 support
[samplevnf.git]
/
VNFs
/
DPPD-PROX
/
helper-scripts
/
rapid
/
devbind.sh
1
link="$(sudo ip -o link | grep MACADDRESS |cut -d":" -f 2)"
2
if [ -n "$link" ];
3
then
4
echo Need to bind
5
sudo ~/dpdk/usertools/dpdk-devbind.py --force --bind igb_uio $(sudo ~/dpdk/usertools/dpdk-devbind.py --status |grep $link | cut -d" " -f 1)
6
else
7
echo Assuming port is already bound to DPDK
8
fi
9
exit 0