[dts] [PATCH V1] fix kni example setup when use vfio-pci

xu,huilong huilongx.xu at intel.com
Tue Nov 7 07:20:08 CET 2017


default bind driver is igb_uio, but use vfio-pci test kni, need re-bind vfio-pci when start kni

Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
 tests/TestSuite_kni.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index 93203f5..5f81def 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -295,7 +295,7 @@ class TestKni(TestCase):
             self.dut.send_expect("rmmod igb_uio", "# ", 5)
             self.dut.send_expect(
                 'insmod ./%s/kmod/igb_uio.ko' % (self.target), "# ", 20)
-        self.dut.bind_interfaces_linux()
+        self.dut.bind_interfaces_linux(self.drivername)
         out = self.dut.send_expect(
             'insmod ./%s/kmod/rte_kni.ko %s' % (self.target, module_param), "# ", 10)
 
-- 
1.9.3



More information about the dts mailing list