From patchwork Mon Jan 11 05:36:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 86261 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 36817A04B5; Mon, 11 Jan 2021 06:34:24 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D9FE140CB3; Mon, 11 Jan 2021 06:34:24 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id A05AB140CB3 for ; Mon, 11 Jan 2021 06:34:22 +0100 (CET) IronPort-SDR: tT6HcdQCxGHNCgIS2XLnWLADcKoaSxcn4NS4ipVm4AUbHn9XCqMqYfZdxRzEPgNqmlmLP4iiA0 wYXNoE/NiL9w== X-IronPort-AV: E=McAfee;i="6000,8403,9860"; a="156989312" X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="156989312" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 21:34:22 -0800 IronPort-SDR: 2jrhtGulPN6Ij/o5fCu09CgTz5qSNCVNK4XLYl32T2seknUaxAyOcIEDRhUTruVpBDdHvIUIVH s2uWQ7FQWmVA== X-IronPort-AV: E=Sophos;i="5.79,337,1602572400"; d="scan'208";a="352458240" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2021 21:34:20 -0800 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Mon, 11 Jan 2021 13:36:12 +0800 Message-Id: <20210111053614.27176-4-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210111053614.27176-1-weix.xie@intel.com> References: <20210111053614.27176-1-weix.xie@intel.com> Subject: [dts] [PATCH V1 3/5] tests/TestSuite_rxtx_offload:add cvl nic supported X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 cvl nic supported. Signed-off-by: Xie wei --- tests/TestSuite_rxtx_offload.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py index 92571744..d0331dcc 100644 --- a/tests/TestSuite_rxtx_offload.py +++ b/tests/TestSuite_rxtx_offload.py @@ -90,7 +90,7 @@ class TestRxTx_Offload(TestCase): # Support i40e/ixgbe NICs self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville", - "niantic", "twinpond", "sagepond", "sageville", "foxville", "cavium_a063", "cavium_a064"], "NIC Unsupported: " + str(self.nic)) + "niantic", "twinpond", "sagepond", "sageville", "foxville", "cavium_a063", "cavium_a064", "columbiaville_25g", "columbiaville_100g"], "NIC Unsupported: " + str(self.nic)) # Based on h/w type, choose how many ports to use self.dut_ports = self.dut.get_ports(self.nic) # Verify that enough ports are available @@ -508,7 +508,7 @@ class TestRxTx_Offload(TestCase): self.dut.send_expect("set fwd txonly", "testpmd> ") self.dut.send_expect("set verbose 1", "testpmd> ") if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville","cavium_a063", "cavium_a064"]): + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville","cavium_a063", "cavium_a064", "columbiaville_100g", "columbiaville_25g"]): self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ") self.check_port_config("tx", "NULL") @@ -548,7 +548,7 @@ class TestRxTx_Offload(TestCase): self.dut.send_expect("set fwd txonly", "testpmd> ") self.dut.send_expect("set verbose 1", "testpmd> ") if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville"]): + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville", "columbiaville_100g", "columbiaville_25g"]): self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ") offload = ["vlan_insert"] @@ -663,7 +663,7 @@ class TestRxTx_Offload(TestCase): capabilities = self.check_port_capability("tx") # Disable per queue capability first, if it is FVL/Fortpark. if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville"]): + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "carlsville", "columbiaville_100g", "columbiaville_25g"]): self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ") self.dut.send_expect("port start 0", "testpmd> ") @@ -682,7 +682,7 @@ class TestRxTx_Offload(TestCase): """ # Only support i40e NICs self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "carlsville", - "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T"], "%s nic not support rx offload setting by queue." % self.nic) + "fortville_spirit_single", "fortpark_TLV","fortpark_BASE-T", "columbiaville_100g", "columbiaville_25g"], "%s nic not support rx offload setting by queue." % self.nic) # Check offload configuration by port and by queue. self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4") offload = ["mbuf_fast_free"]