From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id DC07E5B30 for ; Thu, 8 Mar 2018 02:49:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2018 17:49:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,438,1515484800"; d="scan'208";a="32189182" Received: from dpdk-test32.sh.intel.com (HELO [10.67.119.122]) ([10.67.119.122]) by FMSMGA003.fm.intel.com with ESMTP; 07 Mar 2018 17:49:10 -0800 Message-ID: <5AA104AC.9060703@intel.com> Date: Thu, 08 Mar 2018 17:38:52 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Joyce Kong , dts@dpdk.org References: <1520322420-17990-1-git-send-email-joyce.kong@arm.com> <1520322420-17990-2-git-send-email-joyce.kong@arm.com> In-Reply-To: <1520322420-17990-2-git-send-email-joyce.kong@arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH 2/2] framework/virt_dut: ensure igb_uio installed X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 01:49:12 -0000 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 > --- > 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):