test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Mei, JianweiX" <jianweix.mei@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/sriov_kvm:add twinpond supported
Date: Fri, 24 Apr 2020 05:44:12 +0000	[thread overview]
Message-ID: <312CE835782EEA45A2358F01A9B74B303F6535@CDSMSX102.ccr.corp.intel.com> (raw)
In-Reply-To: <1587706440-26478-1-git-send-email-weix.xie@intel.com>

Tested-by : Mei, JianweiX <jianweix.mei@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xie Wei
Sent: Friday, April 24, 2020 1:34 PM
To: dts@dpdk.org
Cc: Xie, WeiX <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported

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


  reply	other threads:[~2020-04-24  5:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24  5:34 Xie Wei
2020-04-24  5:44 ` Mei, JianweiX [this message]
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=312CE835782EEA45A2358F01A9B74B303F6535@CDSMSX102.ccr.corp.intel.com \
    --to=jianweix.mei@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).