From: "zhao,meijuan" <meijuanx.zhao@intel.com>
To: dts@dpdk.org
Cc: "zhao,meijuan" <meijuanx.zhao@intel.com>
Subject: [dts] [PATCH V1 1/2] tests/vf packet rxtx:add dpdk pf test scenorio
Date: Wed, 21 Nov 2018 13:46:02 +0800 [thread overview]
Message-ID: <1542779163-2419-1-git-send-email-meijuanx.zhao@intel.com> (raw)
Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
---
tests/TestSuite_vf_packet_rxtx.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py
index 6a29d23..c56bdd7 100644
--- a/tests/TestSuite_vf_packet_rxtx.py
+++ b/tests/TestSuite_vf_packet_rxtx.py
@@ -61,7 +61,6 @@ class TestVfPacketRxtx(TestCase):
vf0_prop = {'opt_host': self.sriov_vfs_port_0[0].pci}
vf1_prop = {'opt_host': self.sriov_vfs_port_1[0].pci}
-
if driver == 'igb_uio':
# start testpmd without the two VFs on the host
self.host_testpmd = PmdOutput(self.dut)
@@ -252,10 +251,16 @@ class TestVfPacketRxtx(TestCase):
self.setup_3vf_2vm_env_flag = 0
- def test_vf_reset(self):
+ def test_kernel_pf_vf_reset(self):
self.setup_3vf_2vm_env(driver='')
+ self.vf_reset()
+
+ def test_dpdk_pf_vf_reset(self):
+ self.setup_3vf_2vm_env(driver='igb_uio')
+ self.vf_reset()
+ def vf_reset(self):
self.vm0_dut_ports = self.vm_dut_0.get_ports('any')
self.vm1_dut_ports = self.vm_dut_1.get_ports('any')
--
2.17.2
next reply other threads:[~2018-11-21 5:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-21 5:46 zhao,meijuan [this message]
2018-11-21 5:46 ` [dts] [PATCH V1 2/2] test_plans/vf " zhao,meijuan
2018-11-22 9:41 ` Tu, Lijuan
2018-11-22 9:42 ` [dts] [PATCH V1 1/2] tests/vf " Tu, Lijuan
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=1542779163-2419-1-git-send-email-meijuanx.zhao@intel.com \
--to=meijuanx.zhao@intel.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).