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 D6FC3A0487 for ; Mon, 1 Jul 2019 05:20:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B59F9325F; Mon, 1 Jul 2019 05:20:03 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 22AD431FC for ; Mon, 1 Jul 2019 05:20:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2019 20:20:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,437,1557212400"; d="scan'208";a="165217653" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga007.fm.intel.com with ESMTP; 30 Jun 2019 20:20:01 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Jun 2019 20:20:01 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 30 Jun 2019 20:20:00 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.109]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.60]) with mapi id 14.03.0439.000; Mon, 1 Jul 2019 11:19:53 +0800 From: "Li, WenjieX A" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" , "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic Thread-Index: AQHVL7vH9HbhJS4xA0mdqt46lXbx7aa1GCcA Date: Mon, 1 Jul 2019 03:19:53 +0000 Message-ID: <8688172CD5C0B74590FAE19D9579F94B53734D91@SHSMSX103.ccr.corp.intel.com> References: <1561951395-113904-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1561951395-113904-1-git-send-email-bingx.y.yao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Tested-by: Li, WenjieX A > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing > Sent: Monday, July 1, 2019 11:23 AM > To: dts@dpdk.org > Cc: Yao, BingX Y > Subject: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic >=20 > add fortville_25g nic to support >=20 > Signed-off-by: yaobing > --- > tests/TestSuite_rxtx_offload.py | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >=20 > diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offlo= ad.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 =3D self.dut.get_ports(self.nic) @@ -424,7 +424,7= @@ class > TestRxTx_Offload(TestCase): > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D= 4 --port- > topology=3Dloop") > 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_fre= e off", > "testpmd> ") @@ -465,7 +465,7 @@ class TestRxTx_Offload(TestCase): > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D= 4 --port- > topology=3Dloop --tx-offloads=3D0x0001") > 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_fre= e off", > "testpmd> ") @@ -532,7 +532,7 @@ class TestRxTx_Offload(TestCase): > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D= 4") > capabilities =3D 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_fre= e 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 no= t support rx offload > setting by queue." % self.nic) > # Check offload configuration by port and by queue. > self.pmdout.start_testpmd("%s" % self.cores, "--rxq=3D4 --txq=3D= 4") > -- > 2.17.2