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 B8267A0561; Mon, 20 Apr 2020 06:57:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA8FA1C1DC; Mon, 20 Apr 2020 06:57:04 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 60FE61C1C8 for ; Mon, 20 Apr 2020 06:57:03 +0200 (CEST) IronPort-SDR: bDK1AbGibxQr8d/hzcB6+qDiab+vqE43MNM4nRDaMu5BIPYO/ysia9ygT+buNCBFoIamJSWMsy W/8RJkfxuYVA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 21:57:02 -0700 IronPort-SDR: o7rGMlFDRi1ahewN31jVAFEVSIzACVIeR52nJfQsItzXGxxQ8G6i8UzXqkco/+kIVjYSahygZm sVswcXbyEnlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="289965973" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 19 Apr 2020 21:57:02 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 21:57:02 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 21:57:01 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.214]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 12:56:59 +0800 From: "Tu, Lijuan" To: "Xu, HailinX" , "dts@dpdk.org" CC: "Xu, HailinX" Thread-Topic: [dts] [PATCH v1]tests/TestSuite_rxtx_offload:add support nic carlsville. Thread-Index: AQHWEVOFOdWGtoYTP0OtDkjqafjIGKiBfZOQ Date: Mon, 20 Apr 2020 04:56:58 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0D023@SHSMSX101.ccr.corp.intel.com> References: <1586754894-124039-1-git-send-email-hailinx.xu@intel.com> In-Reply-To: <1586754894-124039-1-git-send-email-hailinx.xu@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.2.0.6 dlp-reaction: no-action 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/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" Applied failed, please rework, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xu Hailin > Sent: Monday, April 13, 2020 1:15 PM > To: dts@dpdk.org > Cc: Xu, HailinX > Subject: [dts] [PATCH v1]tests/TestSuite_rxtx_offload:add support nic > carlsville. >=20 > From: xuhailin >=20 > carlsville driver is i40e, so the nic support the suite. >=20 > Signed-off-by: xuhailin > --- > tests/TestSuite_rxtx_offload.py | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) >=20 > diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offlo= ad.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_TL= V", > - "niantic", "twinpond", "sagepond", "sag= eville"], "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 =3D self.dut.get_ports(self.nic) > # Verify that enough ports are available @@ -502,7 +502,7 @@ cla= ss > 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","fortvill= e_25g", > - "fortville_spirit_single", "fortpark_TLV"]): > + "fortville_spirit_single", "fortpark_TLV", "car= lsville"]): > self.dut.send_expect("port stop 0", "testpmd> ") > self.dut.send_expect("port config 0 tx_offload mbuf_fast_fre= e off", > "testpmd> ") > self.check_port_config("tx", "NULL") @@ -657,7 +657,7 @@ class > TestRxTx_Offload(TestCase): > capabilities =3D self.check_port_capability("tx") > # Disable per queue capability first, if it is FVL/Fortpark. > if (self.nic in ["fortville_eagle", "fortville_spirit","fortvill= e_25g", > - "fortville_spirit_single", "fortpark_TLV"]): > + "fortville_spirit_single", "fortpark_TLV", "car= lsville"]): > self.dut.send_expect("port stop 0", "testpmd> ") > self.dut.send_expect("port config 0 tx_offload mbuf_fast_fre= e 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_TL= V"], "%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=3D4 --txq=3D= 4") > offload =3D ["mbuf_fast_free"] > -- > 2.17.1