From: Xie Wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie Wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported
Date: Fri, 24 Apr 2020 13:34:00 +0800 [thread overview]
Message-ID: <1587706440-26478-1-git-send-email-weix.xie@intel.com> (raw)
add NIC supported
Signed-off-by: Xie Wei <weix.xie@intel.com>
---
tests/TestSuite_sriov_kvm.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
index 453bdeb..fec83cf 100644
--- a/tests/TestSuite_sriov_kvm.py
+++ b/tests/TestSuite_sriov_kvm.py
@@ -817,7 +817,7 @@ class TestSriovKvm(TestCase):
self.set_port_pool_mirror(port_id_0, '0x1 dst-pool 1 on')
self.set_port_downlink_mirror(port_id_0, 'dst-pool 1 on')
- if self.nic.startswith('niantic') or self.nic.startswith('sage'):
+ if self.nic.startswith('niantic') or self.nic.startswith('sage') or self.nic.startswith('twinpond'):
self.set_port_uplink_mirror(port_id_0, 'dst-pool 1 on')
# get vm port stats
@@ -865,7 +865,7 @@ class TestSriovKvm(TestCase):
vm1_ret_stats = self.calculate_stats(vm1_start_stats, vm1_end_stats)
try:
- if self.nic.startswith('niantic') or self.nic.startswith('sage'):
+ if self.nic.startswith('niantic') or self.nic.startswith('sage') or self.nic.startswith('twinpond'):
self.verify(vm0_ret_stats['RX-packets'] == packet_num and vm1_ret_stats['RX-packets'] == packet_num,
"vlan mirror failed between VM0 and VM1")
else:
--
2.17.2
next reply other threads:[~2020-04-24 5:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 5:34 Xie Wei [this message]
2020-04-24 5:44 ` Mei, JianweiX
2020-04-24 6:41 ` 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=1587706440-26478-1-git-send-email-weix.xie@intel.com \
--to=weix.xie@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).