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 961FBA00C4; Fri, 24 Apr 2020 07:40:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F01BD1C1C3; Fri, 24 Apr 2020 07:40:03 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 17F591C1C1 for ; Fri, 24 Apr 2020 07:40:01 +0200 (CEST) IronPort-SDR: 5Pe6YqOSx/EBnfw5eJwsXyipiBVjV33gkLDvrUlbQ1LuSwyzhQrasFS/UfjeGaY5sUB4IN2OcF juyJ78m3FJXw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 22:40:00 -0700 IronPort-SDR: ZCHLTnTkIf7SwRZ1kalBdOcAyrxES1zcCVo45YXZAxT1nEHAmYJyBG0MChIW1IEJUqV/x7UY84 n6zr7CAelr4g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,310,1583222400"; d="scan'208";a="274490042" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.183.135]) by orsmga002.jf.intel.com with ESMTP; 23 Apr 2020 22:39:59 -0700 From: Xie Wei To: dts@dpdk.org Cc: Xie Wei Date: Fri, 24 Apr 2020 13:34:00 +0800 Message-Id: <1587706440-26478-1-git-send-email-weix.xie@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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" 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 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