test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported
@ 2020-04-24  5:34 Xie Wei
  2020-04-24  5:44 ` Mei, JianweiX
  2020-04-24  6:41 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xie Wei @ 2020-04-24  5:34 UTC (permalink / raw)
  To: dts; +Cc: Xie Wei

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-24  6:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  5:34 [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported Xie Wei
2020-04-24  5:44 ` Mei, JianweiX
2020-04-24  6:41 ` Tu, Lijuan

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).