[dts] [PATCH V1] tests/kni:need kmod rte_kni

Zeng Xiaoxiao xiaoxiaox.zeng at intel.com
Tue Jan 21 09:35:11 CET 2020


*.modify CONFIG_RTE_KNI_KMOD as y in config/common_base

Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
---
 tests/TestSuite_kni.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index f1f85df..6e8f0f5 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -259,6 +259,7 @@ class TestKni(TestCase):
                     "The linux tool brctl is needed to run this test suite")
 
         self.dut.send_expect("sed -i -e 's/KNI_KMOD_ETHTOOL=n$/KNI_KMOD_ETHTOOL=y/' config/common_base", "# ", 30)
+        self.dut.send_expect("sed -i -e 's/CONFIG_RTE_KNI_KMOD=n$/CONFIG_RTE_KNI_KMOD=y/' config/common_base", "# ", 30)
         self.dut.build_install_dpdk(self.target)
 
         out = self.dut.build_dpdk_apps("./examples/kni/")
-- 
1.8.3.1



More information about the dts mailing list