[dts] [PATCH] framework: load igb_uio driver before binding VF interface
Herbert Guan
herbert.guan at arm.com
Thu Nov 16 12:27:26 CET 2017
The uio and igb_uio drivers should be loaded before binding VF
interfaces.
Signed-off-by: Herbert Guan <herbert.guan at arm.com>
---
framework/virt_dut.py | 2 ++
1 file changed, 2 insertions(+)
mode change 100644 => 100755 framework/virt_dut.py
diff --git a/framework/virt_dut.py b/framework/virt_dut.py
old mode 100644
new mode 100755
index 348279d..5780535
--- a/framework/virt_dut.py
+++ b/framework/virt_dut.py
@@ -140,6 +140,8 @@ class VirtDut(DPDKdut):
self.setup_modules(target)
if bind_dev:
+ self.send_expect('modprobe uio', '#')
+ self.send_expect('insmod ./%s/kmod/igb_uio.ko' % target,'#')
self.bind_interfaces_linux('igb_uio')
def prerequisites(self, pkgName, patch):
--
1.8.3.1
More information about the dts
mailing list