[dts] [PATCH V1] framework/project_dpdk: set the RTE_EAL_IGB_UIO to y by default

lihong lihongx.ma at intel.com
Mon Jan 20 19:22:30 CET 2020


from dpdk-20.02-rc1, disable all kmods by default, but our dts will
use it, so re-enable it on framework.

Signed-off-by: lihong <lihongx.ma at intel.com>
---
 framework/project_dpdk.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index 7030abb..6cc0e67 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -213,6 +213,8 @@ class DPDKdut(Dut):
         if use_shared_lib == 'true' and 'Virt' not in str(self):
             self.send_expect("sed -i 's/CONFIG_RTE_BUILD_SHARED_LIB=n/CONFIG_RTE_BUILD_SHARED_LIB=y/g' "
                              "config/common_base", '#')
+        self.send_expect("sed -i 's/CONFIG_RTE_EAL_IGB_UIO=n/CONFIG_RTE_EAL_IGB_UIO=y/g' "
+                        "config/common_base", '#')
         build_install_dpdk = getattr(self, 'build_install_dpdk_%s' % self.get_os_type())
         build_install_dpdk(target, extra_options)
 
-- 
2.7.4



More information about the dts mailing list