test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] framework: load igb_uio driver before binding VF interface
@ 2017-11-16 11:27 Herbert Guan
  0 siblings, 0 replies; only message in thread
From: Herbert Guan @ 2017-11-16 11:27 UTC (permalink / raw)
  To: dts; +Cc: Herbert Guan

The uio and igb_uio drivers should be loaded before binding VF
interfaces.

Signed-off-by: Herbert Guan <herbert.guan@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-16 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16 11:27 [dts] [PATCH] framework: load igb_uio driver before binding VF interface Herbert Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).