From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Xie, WeiX" <weix.xie@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xie, WeiX" <weix.xie@intel.com>
Subject: Re: [dts] [PATCH V1] tests/vm_hotplug:check vf pci info instead of dev keywords
Date: Mon, 20 Jul 2020 06:55:11 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC82115@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200703061641.25823-1-weix.xie@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie wei
> Sent: 2020年7月3日 14:17
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/vm_hotplug:check vf pci info instead of dev
> keywords
>
> check vf pci info.
>
> Signed-off-by: Xie wei <weix.xie@intel.com>
> ---
> tests/TestSuite_vm_hotplug.py | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
>
> diff --git a/tests/TestSuite_vm_hotplug.py b/tests/TestSuite_vm_hotplug.py
> index 2dfd835..f403d40 100644
> --- a/tests/TestSuite_vm_hotplug.py
> +++ b/tests/TestSuite_vm_hotplug.py
> @@ -279,14 +279,7 @@ class TestVmHotplug(TestCase):
>
> def check_vf_device(self, has_device=True, device=1):
> time.sleep(1)
> - sign = 'Connection'
> - lis1 = ['fortville_spirit', 'fortville_eagle', 'sagepond', 'twinpond', 'sageville']
> - lis2 = ['fortpark_TLV', 'fortville_25g',"fortpark_BASE-T", "carlsville"]
> - if self.nic in lis1:
> - sign = 'Ethernet'
> - elif self.nic in lis2:
> - sign = 'Device'
> - out = self.vm_session.send_expect('./usertools/dpdk-devbind.py -s |
> grep %s' % sign, '#')
> + out = self.vm_session.send_expect('./usertools/dpdk-devbind.py
> + -s', '#')
> time.sleep(2)
> if has_device:
> self.verify(self.vf_pci0 in out, 'no vf device')
> --
> 2.17.1
prev parent reply other threads:[~2020-07-20 6:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-03 6:16 Xie wei
2020-07-03 7:28 ` Xie, WeiX
2020-07-20 6:55 ` Tu, Lijuan [this message]
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=8CE3E05A3F976642AAB0F4675D0AD20E0BC82115@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=weix.xie@intel.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).