From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A64C3A00C4; Fri, 24 Apr 2020 07:44:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82BBD1C1C1; Fri, 24 Apr 2020 07:44:40 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id B167F1C1AD for ; Fri, 24 Apr 2020 07:44:38 +0200 (CEST) IronPort-SDR: 4aXAucdf44lJOuJii6S0I/17wcbDtupvqoO4DqxABFU7J92cDgHx6CwDTiniF0cQLft72vsz92 LRCZJyUddVSQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 22:44:37 -0700 IronPort-SDR: 1zbiRp7+kBGdiI81zO43z2sl50e4wgCNDoJibODwZtE/8/SWgn92cYOyXeg4JPJUfsAasAjBx7 U04dGtwS1huQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,310,1583222400"; d="scan'208";a="457790105" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 23 Apr 2020 22:44:37 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Apr 2020 22:44:16 -0700 Received: from cdsmsx152.ccr.corp.intel.com (172.17.4.41) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 23 Apr 2020 22:44:15 -0700 Received: from cdsmsx102.ccr.corp.intel.com ([169.254.2.104]) by CDSMSX152.ccr.corp.intel.com ([169.254.6.50]) with mapi id 14.03.0439.000; Fri, 24 Apr 2020 13:44:13 +0800 From: "Mei, JianweiX" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported Thread-Index: AQHWGfraGWRxlr9JMUWYgjZJCiHiiaiHwp+Q Date: Fri, 24 Apr 2020 05:44:12 +0000 Message-ID: <312CE835782EEA45A2358F01A9B74B303F6535@CDSMSX102.ccr.corp.intel.com> References: <1587706440-26478-1-git-send-email-weix.xie@intel.com> In-Reply-To: <1587706440-26478-1-git-send-email-weix.xie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.6.105] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Tested-by : Mei, JianweiX -----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 Subject: [dts] [PATCH V1] tests/sriov_kvm:add twinpond supported add NIC supported Signed-off-by: Xie Wei --- 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 in= dex 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') =20 - if self.nic.startswith('niantic') or self.nic.startswith('sage'): + if self.nic.startswith('niantic') or self.nic.startswith('sage') o= r self.nic.startswith('twinpond'): self.set_port_uplink_mirror(port_id_0, 'dst-pool 1 on') =20 # get vm port stats @@ -865,7 +865,7 @@ class TestSriovKvm(TestCase): vm1_ret_stats =3D self.calculate_stats(vm1_start_stats, vm1_end_st= ats) =20 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'] =3D=3D packet_num = and vm1_ret_stats['RX-packets'] =3D=3D packet_num, "vlan mirror failed between VM0 and VM1") else: -- 2.17.2