test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] test_plan/jumboframes: fix command line
Date: Tue, 12 May 2020 07:32:59 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC2A342@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1588844594-17383-1-git-send-email-lijuan.tu@intel.com>

Applied, thanks

> -----Original Message-----
> From: Tu, Lijuan
> Sent: Thursday, May 7, 2020 5:43 PM
> To: dts@dpdk.org
> Cc: Tu, Lijuan <lijuan.tu@intel.com>
> Subject: [PATCH] test_plan/jumboframes: fix command line
> 
> * fix command line
> * refine description
> 
> Signed-off-by: Lijuan Tu <lijuan.tu@intel.com>
> ---
>  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


      reply	other threads:[~2020-05-12  7:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07  9:43 Lijuan Tu
2020-05-12  7:32 ` Tu, Lijuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8CE3E05A3F976642AAB0F4675D0AD20E0BC2A342@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).