From: "Liu, Yong" <yong.liu@intel.com>
To: Joyce Kong <joyce.kong@arm.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed
Date: Thu, 08 Mar 2018 17:38:52 +0800 [thread overview]
Message-ID: <5AA104AC.9060703@intel.com> (raw)
In-Reply-To: <1520322420-17990-2-git-send-email-joyce.kong@arm.com>
Hi Joyce,
I have submitted one patch set for VM inside kernel module
configuration, it will be more common solution.
You can refer to http://dpdk.org/ml/archives/dts/2018-March/003752.html.
Thanks,
Marvin
On 03/06/2018 03:47 PM, Joyce Kong wrote:
> Ensure igb_uio driver is installed if driver='igb_uio'
>
> Signed-off-by: Joyce Kong <joyce.kong@arm.com>
> ---
> framework/virt_dut.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/framework/virt_dut.py b/framework/virt_dut.py
> index 62688dc..91620ef 100644
> --- a/framework/virt_dut.py
> +++ b/framework/virt_dut.py
> @@ -153,6 +153,9 @@ class VirtDut(DPDKdut):
> self.setup_modules(target)
>
> if bind_dev:
> + self.send_expect('(lsmod | grep uio) | modprobe uio', '#')
> + self.send_expect('(lsmod | grep igb_uio)
> + | insmod ./%s/kmod/igb_uio.ko' % target,'#')
> self.bind_interfaces_linux('igb_uio')
>
> def prerequisites(self, pkgName, patch, autodetect_topo):
next prev parent reply other threads:[~2018-03-08 1:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-06 7:46 [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Joyce Kong
2018-03-06 7:47 ` [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed Joyce Kong
2018-03-08 9:38 ` Liu, Yong [this message]
2018-03-08 3:36 ` [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Liu, Yong
-- strict thread matches above, loose matches on Subject: below --
2018-03-06 7:33 Joyce Kong
2018-03-06 7:33 ` [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed Joyce Kong
2018-03-06 3:29 [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Joyce Kong
2018-03-06 3:29 ` [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed Joyce Kong
2018-03-06 3:16 [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Joyce Kong
2018-03-06 3:16 ` [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed Joyce Kong
2018-03-06 2:39 [dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset Joyce Kong
2018-03-06 2:39 ` [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed Joyce Kong
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=5AA104AC.9060703@intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=joyce.kong@arm.com \
/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).