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 16418A00C5; Thu, 7 May 2020 03:39:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0E2101DA5D; Thu, 7 May 2020 03:39:07 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2048F1DA3A for ; Thu, 7 May 2020 03:39:05 +0200 (CEST) IronPort-SDR: 9RIm4betPnSltHDlJTGPltd3IqKczXH67ho9mVr+NzhYMqhzslA8TKhCNXr5uAh+PBzw6RUlHW MNVIjqLDj5WA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2020 18:39:05 -0700 IronPort-SDR: ElDKQD7XvkrsUM6tY5c5FxgMh3TMVv6AQE/Va3C8uja4Q1LC/CH5PTkYLFyATfBM6QBUTxvi1Q nGFjS18hl6Pg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,361,1583222400"; d="scan'208";a="369974863" Received: from unknown (HELO dpdk-lijuan.sh.intel.com) ([10.67.119.192]) by fmsmga001.fm.intel.com with ESMTP; 06 May 2020 18:39:04 -0700 From: Lijuan Tu To: dts@dpdk.org Cc: Lijuan Tu Date: Thu, 7 May 2020 17:43:14 +0800 Message-Id: <1588844594-17383-1-git-send-email-lijuan.tu@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [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" * fix command line * refine description Signed-off-by: Lijuan Tu --- test_plans/jumboframes_test_plan.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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. +.. note:: + + Maximum Packet Length = MTU(Maximum Transmission Unit) + 14(src mac + dst mac) + 4(CRC) + e.g., 1518 = 1500 + 14 + 4 + Prerequisites ============= @@ -54,13 +59,12 @@ Assuming that ports ``0`` and ``1`` of the test target are directly connected to the traffic generator, launch the ``testpmd`` application with the following arguments:: - ./build/app/testpmd -c ffffff -n 3 -- -i --rxd=1024 --txd=1024 \ - --burst=144 --txpt=32 --txht=0 --txfreet=0 --rxfreet=64 \ - --mbcache=200 --portmask=0x3 --mbuf-size=2048 --max-pkt-len=9600 + ./build/app/testpmd -c ffffff -n 6 -- -i --portmask=0x3 --max-pkt-len=9600 \ + --tx-offloads=0x00008000 The -n command is used to select the number of memory channels. It should match the number of memory channels on that setup. -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. -- 1.8.3.1