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 E1515A0577; Mon, 13 Apr 2020 07:22:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A74832986; Mon, 13 Apr 2020 07:22:06 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 148AAF72 for ; Mon, 13 Apr 2020 07:22:04 +0200 (CEST) IronPort-SDR: taCoAl01mGEF+CS430LCPN2EBjKK5l8H/IncdE3SWTZQy9jNvkkJ/ObUHqLwmHAvxfO8OT2A5J mgIzw/6KMMRA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2020 22:22:03 -0700 IronPort-SDR: SZDCMhwacZMAAe8aUni99IIdjQtDmSWOpApN2Bv61WB8Htrrhh/A/ZbfWx4ZAyaUdlH3Elwo3p rfltQAGWbX3A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,377,1580803200"; d="scan'208";a="270974658" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by orsmga002.jf.intel.com with ESMTP; 12 Apr 2020 22:22:01 -0700 From: Xu Hailin To: dts@dpdk.org Cc: xuhailin Date: Mon, 13 Apr 2020 13:14:54 +0800 Message-Id: <1586754894-124039-1-git-send-email-hailinx.xu@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH v1]tests/TestSuite_rxtx_offload:add support nic carlsville. 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" From: xuhailin carlsville driver is i40e, so the nic support the suite. Signed-off-by: xuhailin --- tests/TestSuite_rxtx_offload.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py index 7facbf2..9049ded 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", - "niantic", "twinpond", "sagepond", "sageville"], "NIC Unsupported: " + str(self.nic)) + "niantic", "twinpond", "sagepond", "sageville", "carlsville"], "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 @@ -502,7 +502,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"]): + "fortville_spirit_single", "fortpark_TLV", "carlsville"]): 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") @@ -657,7 +657,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"]): + "fortville_spirit_single", "fortpark_TLV", "carlsville"]): 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> ") @@ -676,7 +676,7 @@ class TestRxTx_Offload(TestCase): """ # Only support i40e NICs self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", - "fortville_spirit_single", "fortpark_TLV"], "%s nic not support rx offload setting by queue." % self.nic) + "fortville_spirit_single", "fortpark_TLV", "carlsville"], "%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"] -- 2.17.1