From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 6F9E7A05D3 for ; Tue, 23 Apr 2019 23:32:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 218031B467; Tue, 23 Apr 2019 23:32:14 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id EA2431B43F for ; Tue, 23 Apr 2019 23:32:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 14:32:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,387,1549958400"; d="scan'208";a="318361312" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 23 Apr 2019 14:30:03 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 23 Apr 2019 14:30:03 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx163.amr.corp.intel.com (10.18.125.72) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 23 Apr 2019 14:30:03 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.164]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.42]) with mapi id 14.03.0415.000; Wed, 24 Apr 2019 05:30:00 +0800 From: "Tu, Lijuan" To: "Xu, Yanjie" , "dts@dpdk.org" CC: "Xu, Yanjie" Thread-Topic: [dts] [PATCH] revise checksum offload test plan Thread-Index: AQHU9a3ZlXddUVcaYU+z9QlrRWdmKqZKS4Bw Date: Tue, 23 Apr 2019 21:29:59 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA65BD7@SHSMSX101.ccr.corp.intel.com> References: <1555588744-173823-1-git-send-email-yanjie.xu@intel.com> In-Reply-To: <1555588744-173823-1-git-send-email-yanjie.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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTA1NmM4NjktNjJkNC00OTE3LWE4NTAtZTUxZjAyM2Q0MTFiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRVM0bkluWmlGWkt1Z1FONE1ZZ0g3RnNvZ3cxSklKdHBQUkRLM3NqMXFubXBFMDJkTWJYVDZVUmVGd1dsZnRKMyJ9 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] revise checksum offload test plan 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" > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xuyanjie > Sent: Thursday, April 18, 2019 4:59 AM > To: dts@dpdk.org > Cc: Xu, Yanjie > Subject: [dts] [PATCH] revise checksum offload test plan >=20 > Signed-off-by: xuyanjie >=20 > diff --git a/test_plans/checksum_offload_test_plan.rst > b/test_plans/checksum_offload_test_plan.rst > index 82fd12f..408052e 100644 > --- a/test_plans/checksum_offload_test_plan.rst > +++ b/test_plans/checksum_offload_test_plan.rst > @@ -219,3 +219,27 @@ Configure the traffic generator to send the multiple > packets with the following > combination: good/bad ip checksum + good/bad udp/tcp checksum. >=20 > Check the Rx checksum flags consistent with expected flags. > + > +Test Case: Validate checksum offload performance > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D > +At least 2 ports should be binded > + > +packet_sizes =3D [64, 128, 256, 512, 1024] > + > +Setup the ``csum`` forwarding mode:: > + > + testpmd> set fwd csum > + Set csum packet forwarding mode > + > +Start the packet forwarding:: > + > + testpmd> start > + csum packet forwarding - CRC stripping disabled - packets/burst=3D32 > + nb forwarding cores=3D1 - nb forwarding ports=3D10 > + RX queues=3D1 - RX desc=3D128 - RX free threshold=3D64 > + RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D4 > + TX queues=3D1 - TX desc=3D512 - TX free threshold=3D0 > + TX threshold registers: pthresh=3D32 hthresh=3D8 wthresh=3D8 > + > +Configure the traffic generator ixia to send traffic and verify > +throughput > + [Lijuan] what's the traffic requirements?, how to verify results, in other = words, what's the expectation. > -- > 2.7.4