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 9DBBFA0487 for ; Mon, 1 Jul 2019 05:18:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 71AF6325F; Mon, 1 Jul 2019 05:18:44 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 44D0031FC for ; Mon, 1 Jul 2019 05:18:43 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2019 20:18:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,437,1557212400"; d="scan'208";a="246780921" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 30 Jun 2019 20:18:38 -0700 From: yaobing To: dts@dpdk.org Cc: yaobing Date: Mon, 1 Jul 2019 11:23:15 +0800 Message-Id: <1561951395-113904-1-git-send-email-bingx.y.yao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic 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 fortville_25g nic to support Signed-off-by: yaobing --- 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 0ae83f4..bcef69d 100644 --- a/tests/TestSuite_rxtx_offload.py +++ b/tests/TestSuite_rxtx_offload.py @@ -87,7 +87,7 @@ class TestRxTx_Offload(TestCase): Run at the start of each test suite. New rx tx offload API Prerequisites """ - self.verify(self.nic in ["fortville_eagle", "fortville_spirit", + self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "fortville_spirit_single", "niantic"], "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) @@ -424,7 +424,7 @@ class TestRxTx_Offload(TestCase): self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=loop") self.dut.send_expect("set fwd txonly", "testpmd> ") self.dut.send_expect("set verbose 1", "testpmd> ") - if (self.nic in ["fortville_eagle", "fortville_spirit", + if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "fortville_spirit_single"]): self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ") @@ -465,7 +465,7 @@ class TestRxTx_Offload(TestCase): self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4 --port-topology=loop --tx-offloads=0x0001") self.dut.send_expect("set fwd txonly", "testpmd> ") self.dut.send_expect("set verbose 1", "testpmd> ") - if (self.nic in ["fortville_eagle", "fortville_spirit", + if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "fortville_spirit_single", "fortpark_TLV"]): self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ") @@ -532,7 +532,7 @@ class TestRxTx_Offload(TestCase): self.pmdout.start_testpmd("%s" % self.cores, "--rxq=4 --txq=4") capabilities = self.check_port_capability("tx") # Disable per queue capability first, if it is FVL. - if (self.nic in ["fortville_eagle", "fortville_spirit", + if (self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "fortville_spirit_single", "fortpark_TLV"]): self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect("port config 0 tx_offload mbuf_fast_free off", "testpmd> ") @@ -551,7 +551,7 @@ class TestRxTx_Offload(TestCase): Set Rx offload by queue. """ # Only support FVL - self.verify(self.nic in ["fortville_eagle", "fortville_spirit", + self.verify(self.nic in ["fortville_eagle", "fortville_spirit","fortville_25g", "fortville_spirit_single",], "%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") -- 2.17.2