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 CBBC7A0523; Thu, 2 Jul 2020 05:48:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 353601D62E; Thu, 2 Jul 2020 05:48:39 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 045811D629 for ; Thu, 2 Jul 2020 05:48:37 +0200 (CEST) IronPort-SDR: 90+VV9HrK5cXcAHirIvvUbyyUGiDCpNxSLEX/EH0XEC+fNN5R2bdR7gKnwxyK+yvZKTtyEpNgo t9zInNzhbPEQ== X-IronPort-AV: E=McAfee;i="6000,8403,9669"; a="164836729" X-IronPort-AV: E=Sophos;i="5.75,302,1589266800"; d="scan'208";a="164836729" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2020 20:48:36 -0700 IronPort-SDR: yJka52f4vEvB2gtbSRUoK2nsyTSMChekYNgmsrj2j0mnQ6GQs/vvvDoCj7CUv00mIpqE/RE7Li Dwf8/spu+gfA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,302,1589266800"; d="scan'208";a="387207058" Received: from unknown (HELO cb-dts.sh.intel.com) ([10.240.183.58]) by fmsmga001.fm.intel.com with ESMTP; 01 Jul 2020 20:48:35 -0700 From: ChenBo To: dts@dpdk.org Cc: ChenBo Date: Thu, 2 Jul 2020 11:35:52 +0800 Message-Id: <20200702033552.25298-1-box.c.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2] tests/dual_vlan: Update unsupported network card 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 unsupported NIC, and delete code that will not be executed. Signed-off-by: ChenBo --- conf/test_case_checklist.json | 1 + tests/TestSuite_dual_vlan.py | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json index 493f403..d475229 100644 --- a/conf/test_case_checklist.json +++ b/conf/test_case_checklist.json @@ -288,6 +288,7 @@ "fortville_eagle", "fortville_spirit", "fortville_spirit_single", + "foxville", "powerville", "kawela_4", "springville", diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py index daa23d3..855769c 100644 --- a/tests/TestSuite_dual_vlan.py +++ b/tests/TestSuite_dual_vlan.py @@ -342,14 +342,10 @@ class TestDualVlan(TestCase): """ Enable/Disable VLAN packets strip on queue """ - self.verify(self.nic not in ["columbiaville_25g", "columbiaville_100g", "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV","fortpark_BASE-T", "cavium_a063", "cavium_a064", "carlsville"], "%s NIC not support queue vlan strip " % self.nic) - self.mode_config(filter="off") self.mode_config(extend="off") self.mode_config(strip="off") self.mode_config(stripq="off") - if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV", "fortpark_BASE-T","carlsville"]: - self.dut.send_expect('rx_vlan add %s %s' % (outvlan, dutRxPortId), "testpmd> ") self.vlan_send_packet(outvlan) out = self.get_tcpdump_package() self.verify("vlan %s" % outvlan in out, "vlan strip queue disable error : " + out) @@ -361,13 +357,9 @@ class TestDualVlan(TestCase): self.verify("vlan %s" % outvlan not in out, "vlan strip enable error: " + out) self.mode_config(stripq="off") - if self.nic == 'foxville': - self.mode_config(strip="off") self.vlan_send_packet(outvlan) out = self.get_tcpdump_package() self.verify("vlan %s" % outvlan in out, "vlan strip queue disable error: " + out) - if self.nic in ["columbiaville_25g", "columbiaville_100g", "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortville_25g", "fortpark_TLV","fortpark_BASE-T" "carlsville"]: - self.dut.send_expect('rx_vlan rm %s %s' % (outvlan, dutRxPortId), "testpmd> ") def test_vlan_insert_config(self): """ -- 2.17.1