test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] revise checksum offload test plan
@ 2019-04-18 11:59 xuyanjie
  2019-04-23 21:29 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: xuyanjie @ 2019-04-18 11:59 UTC (permalink / raw)
  To: dts; +Cc: xuyanjie

Signed-off-by: xuyanjie <yanjie.xu@intel.com>

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.
 
 Check the Rx checksum flags consistent with expected flags.
+
+Test Case: Validate checksum offload performance
+=================================================================
+At least 2 ports should be binded
+
+packet_sizes = [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=32
+    nb forwarding cores=1 - nb forwarding ports=10
+    RX queues=1 - RX desc=128 - RX free threshold=64
+    RX threshold registers: pthresh=8 hthresh=8 wthresh=4
+    TX queues=1 - TX desc=512 - TX free threshold=0
+    TX threshold registers: pthresh=32 hthresh=8 wthresh=8
+
+Configure the traffic generator ixia to send traffic and verify throughput
+
-- 
2.7.4


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

* Re: [dts] [PATCH] revise checksum offload test plan
  2019-04-18 11:59 [dts] [PATCH] revise checksum offload test plan xuyanjie
@ 2019-04-23 21:29 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-04-23 21:29 UTC (permalink / raw)
  To: Xu, Yanjie, dts; +Cc: Xu, Yanjie



> -----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 <yanjie.xu@intel.com>
> Subject: [dts] [PATCH] revise checksum offload test plan
> 
> Signed-off-by: xuyanjie <yanjie.xu@intel.com>
> 
> 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.
> 
>  Check the Rx checksum flags consistent with expected flags.
> +
> +Test Case: Validate checksum offload performance
> +===============================================================
> ==
> +At least 2 ports should be binded
> +
> +packet_sizes = [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=32
> +    nb forwarding cores=1 - nb forwarding ports=10
> +    RX queues=1 - RX desc=128 - RX free threshold=64
> +    RX threshold registers: pthresh=8 hthresh=8 wthresh=4
> +    TX queues=1 - TX desc=512 - TX free threshold=0
> +    TX threshold registers: pthresh=32 hthresh=8 wthresh=8
> +
> +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


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

end of thread, other threads:[~2019-04-23 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-18 11:59 [dts] [PATCH] revise checksum offload test plan xuyanjie
2019-04-23 21:29 ` Tu, Lijuan

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).