path: root/VNFs/DPPD-PROX
diff options
authorLuc Provoost <>2021-05-10 10:06:30 +0200
committerLuc Provoost <>2021-05-10 08:41:09 +0000
commit894f62216ca3c97ef0c1c09b9475459b9324b1bb (patch)
treee80c592a83e49f87dc98612a3400103b07d2a346 /VNFs/DPPD-PROX
parent1492024f49f6952fb9f99ac70d0ae1c26fb946ad (diff)
Reinstate installation of igb_uio
For good performance on some platforms, we need the igb_uio driver. With this change, the driver is compiled and insmod done during boot time. When running the rapid scripts, the script is sent to the instances (after replacing the string "MACADDRESS"). Make sure you uncomment the proper line to chose which driver you want to use. Change-Id: I69549400a97f29e06add6ab44515e96ffa9ce0e8 Signed-off-by: Luc Provoost <>
Diffstat (limited to 'VNFs/DPPD-PROX')
2 files changed, 9 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/ b/VNFs/DPPD-PROX/helper-scripts/rapid/
index 834554d..3cf1113 100755
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/
@@ -52,6 +52,12 @@ then
## Only then, they will be able to connect to the PROX instance
## and start the testing
touch "$system_ready"
+ ## On some systems, we still need to use the igb_uio driver.
+ ## Example: good performance on AWS with the ENA interface.
+ ## Make sure that you change to use the preferred
+ ## driver. vfio is the default.
+ modprobe uio
+ insmod /opt/rapid/dpdk/build/kmod/igb_uio.ko wc_activate=1
exit 0
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/ b/VNFs/DPPD-PROX/helper-scripts/rapid/
index fe7a5d4..0bde3cc 100755
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/
@@ -2,9 +2,11 @@ link="$(sudo ip -o link | grep MACADDRESS |cut -d":" -f 2)"
if [ -n "$link" ];
echo Need to bind
+ # Uncomment one of the following lines, depending on which driver
+ # you want to use: vfio-pci or igb_uio
#sudo /opt/rapid/dpdk/usertools/ --force --bind igb_uio $(sudo /opt/rapid/dpdk/usertools/ --status |grep $link | cut -d" " -f 1)
sudo driverctl set-override $(sudo ethtool -i $link |grep bus-info | cut -d" " -f 2) vfio-pci
- echo Assuming port is already bound to vfio-pci
+ echo Assuming port is already bound to DPDK poll mode driver
exit 0