test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH] test_plan/jumboframes: fix command line
@ 2020-05-07  9:43 Lijuan Tu
  2020-05-12  7:32 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2020-05-07  9:43 UTC (permalink / raw)
  To: dts; +Cc: Lijuan Tu

* 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] test_plan/jumboframes: fix command line
  2020-05-07  9:43 [dts] [PATCH] test_plan/jumboframes: fix command line Lijuan Tu
@ 2020-05-12  7:32 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-05-12  7:32 UTC (permalink / raw)
  To: dts

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07  9:43 [dts] [PATCH] test_plan/jumboframes: fix command line Lijuan Tu
2020-05-12  7:32 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox