From: Herbert Guan <herbert.guan@arm.com>
To: dts@dpdk.org
Cc: Herbert Guan <herbert.guan@arm.com>
Subject: [dts] [PATCH] framework: load igb_uio driver before binding VF interface
Date: Thu, 16 Nov 2017 19:27:26 +0800 [thread overview]
Message-ID: <1510831646-7246-1-git-send-email-herbert.guan@arm.com> (raw)
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
reply other threads:[~2017-11-16 11:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1510831646-7246-1-git-send-email-herbert.guan@arm.com \
--to=herbert.guan@arm.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).