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 9A28EA04A2; Tue, 12 May 2020 09:33:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86C921C0B6; Tue, 12 May 2020 09:33:05 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id D2C461C020 for ; Tue, 12 May 2020 09:33:03 +0200 (CEST) IronPort-SDR: EKkZ+9vOffLThp0gkrNzng9e4K3EFEGeqT2rQ7gX92k0bA6GhYpug1q3zdAapl8eR8pYwNDHq5 4sbG1fsXKc8Q== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2020 00:33:02 -0700 IronPort-SDR: OgeBisQamZtWFqg2Aqefd2P9vhPg6ZturR47dBF0EQ2u2l75fwItf3/cceL0IhggaHrosDBlaz WEsyP4zp3hGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,382,1583222400"; d="scan'208";a="297938328" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 12 May 2020 00:33:02 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 00:33:02 -0700 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 May 2020 00:33:02 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.181]) with mapi id 14.03.0439.000; Tue, 12 May 2020 15:33:00 +0800 From: "Tu, Lijuan" To: "dts@dpdk.org" Thread-Topic: [PATCH] test_plan/jumboframes: fix command line Thread-Index: AQHWJBBjBDt/v4cKu0ewFWl8mrv1oqikFvog Date: Tue, 12 May 2020 07:32:59 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC2A342@SHSMSX101.ccr.corp.intel.com> References: <1588844594-17383-1-git-send-email-lijuan.tu@intel.com> In-Reply-To: <1588844594-17383-1-git-send-email-lijuan.tu@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] test_plan/jumboframes: fix command line 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: Tu, Lijuan > Sent: Thursday, May 7, 2020 5:43 PM > To: dts@dpdk.org > Cc: Tu, Lijuan > Subject: [PATCH] test_plan/jumboframes: fix command line >=20 > * fix command line > * refine description >=20 > Signed-off-by: Lijuan Tu > --- > test_plans/jumboframes_test_plan.rst | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) >=20 > diff --git a/test_plans/jumboframes_test_plan.rst > b/test_plans/jumboframes_test_plan.rst > index 71af780..a713ee5 100644 > --- a/test_plans/jumboframes_test_plan.rst > +++ b/test_plans/jumboframes_test_plan.rst > @@ -39,6 +39,11 @@ to receive Jumbo Frames with a configurable > maximum packet length that is greater than the standard maximum > Ethernet frame length (1518 bytes), up to a maximum value imposed by the > hardware. >=20 > +.. note:: > + > + Maximum Packet Length =3D MTU(Maximum Transmission Unit) + 14(src > mac + dst mac) + 4(CRC) > + e.g., 1518 =3D 1500 + 14 + 4 > + > Prerequisites > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > @@ -54,13 +59,12 @@ Assuming that ports ``0`` and ``1`` of the test targe= t > are directly connected to the traffic generator, launch the ``testpmd`` > application with the following > arguments:: >=20 > - ./build/app/testpmd -c ffffff -n 3 -- -i --rxd=3D1024 --txd=3D1024 \ > - --burst=3D144 --txpt=3D32 --txht=3D0 --txfreet=3D0 --rxfreet=3D64 \ > - --mbcache=3D200 --portmask=3D0x3 --mbuf-size=3D2048 --max-pkt-len=3D96= 00 > + ./build/app/testpmd -c ffffff -n 6 -- -i --portmask=3D0x3 > + --max-pkt-len=3D9600 \ > + --tx-offloads=3D0x00008000 >=20 > The -n command is used to select the number of memory channels. It shoul= d > match the number of memory channels on that setup. >=20 > -Setting the size of the mbuf data buffer to 2048 and the maximum packet > length > +Setting tx-offload to 0x8000 and the maximum packet length > to 9600 (CRC included) makes input Jumbo Frames to be stored in multiple > buffers by the hardware RX engine. >=20 > -- > 1.8.3.1