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 4A991A0487 for ; Wed, 3 Jul 2019 08:00:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D14F4C8F; Wed, 3 Jul 2019 08:00:46 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 5B8461BE0 for ; Wed, 3 Jul 2019 08:00:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 23:00:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,446,1557212400"; d="scan'208";a="362922471" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga006.fm.intel.com with ESMTP; 02 Jul 2019 23:00:44 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 23:00:44 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 23:00:43 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.22]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 14:00:41 +0800 From: "Tu, Lijuan" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" Thread-Topic: [dts] [PATCH V1] tests/rxtx_offload:add fortville_25g nic Thread-Index: AQHVL7vHrrlEGf8EW0CRqPRDjZ5vfqa4ac0A Date: Wed, 3 Jul 2019 06:00:40 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAD936A@SHSMSX101.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: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDg1MDA2YWQtMWI0ZS00NTFkLTllZTUtNzViZjQ0OWRkOGM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR0lLS0Y0ak92eUZoeTA5RHF1OVFBSGhaMVBOMEZpOXByK0NEbEpRQ1VnNGZjVm43cjVFYkR5YklKOExFRW5BZCJ9 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" Applied, thanks > -----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