summaryrefslogtreecommitdiffstats
path: root/rapidvm/dib
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2021-05-10 10:06:30 +0200
committerLuc Provoost <luc.provoost@intel.com>2021-05-10 08:41:09 +0000
commit894f62216ca3c97ef0c1c09b9475459b9324b1bb (patch)
treee80c592a83e49f87dc98612a3400103b07d2a346 /rapidvm/dib
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 devbind.sh 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 <luc.provoost@intel.com>
Diffstat (limited to 'rapidvm/dib')
-rwxr-xr-xrapidvm/dib/elements/rapid/post-install.d/50-compile-dpdk4
1 files changed, 3 insertions, 1 deletions
diff --git a/rapidvm/dib/elements/rapid/post-install.d/50-compile-dpdk b/rapidvm/dib/elements/rapid/post-install.d/50-compile-dpdk
index 38d07486..6a7fdf36 100755
--- a/rapidvm/dib/elements/rapid/post-install.d/50-compile-dpdk
+++ b/rapidvm/dib/elements/rapid/post-install.d/50-compile-dpdk
@@ -24,7 +24,9 @@ export RTE_KERNELDIR="/lib/modules/${LATEST_KERNEL_INSTALLED}/build"
pushd ${RTE_SDK} > /dev/null 2>&1
make config T=${RTE_TARGET}
-#sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' ${RTE_SDK}/build/.config
+# Starting from DPDK 20.05, the IGB_UIO driver is not compiled by default.
+# Uncomment the sed command to enable the driver compilation
+sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' ${RTE_SDK}/build/.config
#sed -i 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=n/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y/g' ${RTE_SDK}/build/.config
sed -i 's/CONFIG_RTE_APP_TEST=y/CONFIG_RTE_APP_TEST=n/g' ${RTE_SDK}/build/.config
sed -i 's/CONFIG_RTE_TEST_PMD=y/CONFIG_RTE_TEST_PMD=n/g' ${RTE_SDK}/build/.config