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 8C5A6A00C5; Thu, 11 Jun 2020 09:09:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8509437B0; Thu, 11 Jun 2020 09:09:24 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 463422E81 for ; Thu, 11 Jun 2020 09:09:22 +0200 (CEST) IronPort-SDR: rDmHTCrQIzMstLCkS+KYXMyrzMxwjOu78jHo6OjXH1iOXSWx7DWkxP0Jcopy0L6+Cz2B//4dIb foxUd0ACfxlQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2020 00:09:11 -0700 IronPort-SDR: Re6HjWf1g8NsSUWENKFkNgwxEhDdsbeATTDtTxn5oPk3vTIk7x7RH6q76MqxrBPjtgsABipt+F fUkS4Su2fwug== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,499,1583222400"; d="scan'208";a="380307743" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by fmsmga001.fm.intel.com with ESMTP; 11 Jun 2020 00:09:10 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: Haiyang Zhao Date: Thu, 11 Jun 2020 14:59:40 +0800 Message-Id: <1591858780-153380-6-git-send-email-haiyangx.zhao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com> References: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 5/5] tests/veb_switch: update scripts to meet CVL 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" *.update scripts to meet CVL. Signed-off-by: Haiyang Zhao --- tests/TestSuite_veb_switch.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_veb_switch.py b/tests/TestSuite_veb_switch.py index 0753646..b6b4034 100644 --- a/tests/TestSuite_veb_switch.py +++ b/tests/TestSuite_veb_switch.py @@ -157,7 +157,8 @@ class TestVEBSwitching(TestCase): Prerequisite steps for each test suite. """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortville_25g", "carlsville"], + "fortville_spirit_single", "fortville_25g", "carlsville", + 'columbiaville_100g', 'columbiaville_25g'], "NIC Unsupported: " + str(self.nic)) self.dut_ports = self.dut.get_ports(self.nic) self.verify(len(self.dut_ports) >= 1, "Insufficient ports") @@ -279,6 +280,8 @@ class TestVEBSwitching(TestCase): vf0_tx_stats = self.veb_get_pmd_stats("first", 0, "tx") vf1_rx_stats = self.veb_get_pmd_stats("second", 0, "rx") + if self.kdriver == 'ice': + vf1_rx_stats[-1] = vf1_rx_stats[-1] + 4 self.verify(vf0_tx_stats[0] != 0, "no packet was sent by VF0") self.verify(vf0_tx_stats == vf1_rx_stats, "VF1 failed to receive packets from VF0") -- 1.8.3.1