* Re: [dts] [PATCH] revised checksum offload test plan
2019-04-17 20:38 [dts] [PATCH] revised checksum offload test plan xuyanjie
@ 2019-04-17 17:26 ` Rami Rosen
0 siblings, 0 replies; 2+ messages in thread
From: Rami Rosen @ 2019-04-17 17:26 UTC (permalink / raw)
To: xuyanjie; +Cc: dts
[-- Attachment #1: Type: text/plain, Size: 662 bytes --]
Hi xuyanjie,
Thanks for this work, but it seems to me that you need to rebase this patch
against the latest code.
> - enable-rx-cksum
> + enable-rx-checksum
Testpmd has no longer a parameter called enable-rx-checksum.
This was fixed by the following patch by me (from March 2019)
https://mails.dpdk.org/archives/dts/2019-March/005297.html
> using vfio, use the following commands to load the vfio driver and bind it
> +using vfio, use the following commands to to load the vfio driver and
bind it
This was fixed by the following patch, again by me (from December 2018)
https://mails.dpdk.org/archives/dts/2018-December/004567.html
Regards,
Rami Rosen
[-- Attachment #2: Type: text/html, Size: 1178 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts] [PATCH] revised checksum offload test plan
@ 2019-04-17 20:38 xuyanjie
2019-04-17 17:26 ` Rami Rosen
0 siblings, 1 reply; 2+ messages in thread
From: xuyanjie @ 2019-04-17 20:38 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..5128251 100644
--- a/test_plans/checksum_offload_test_plan.rst
+++ b/test_plans/checksum_offload_test_plan.rst
@@ -56,7 +56,7 @@ On the TX side:
RX side, the L3/L4 checksum offload by hardware can be enabled with the
following command of the ``testpmd`` application::
- enable-rx-cksum
+ enable-rx-checksum
TX side, the insertion of a L3/L4 checksum by hardware can be enabled with the
following command of the ``testpmd`` application and running in a dedicated
@@ -81,7 +81,7 @@ Prerequisites
=============
If using vfio the kernel must be >= 3.6+ and VT-d must be enabled in bios.When
-using vfio, use the following commands to load the vfio driver and bind it
+using vfio, use the following commands to to load the vfio driver and bind it
to the device under test::
modprobe vfio
@@ -93,7 +93,7 @@ launch the ``testpmd`` with the following arguments::
./build/app/testpmd -cffffff -n 1 -- -i --burst=1 --txpt=32 \
--txht=8 --txwt=0 --txfreet=0 --rxfreet=64 --mbcache=250 --portmask=0x5
- enable-rx-cksum
+ enable-rx-checksum
Set the verbose level to 1 to display information for each received packet::
@@ -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
end of thread, other threads:[~2019-04-17 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-17 20:38 [dts] [PATCH] revised checksum offload test plan xuyanjie
2019-04-17 17:26 ` Rami Rosen
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).