test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] test_plans: Add test case Check RSS key size
@ 2019-01-15 11:03 Peng Yuan
  2019-01-21  6:39 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Yuan @ 2019-01-15 11:03 UTC (permalink / raw)
  To: dts; +Cc: Peng Yuan

Add test case "Check RSS key size" to pmdrssreta_test_plan.rst

Signed-off-by: Peng Yuan <yuan.peng@intel.com>

diff --git a/test_plans/pmdrssreta_test_plan.rst b/test_plans/pmdrssreta_test_plan.rst
index 684e289..09f69c1 100644
--- a/test_plans/pmdrssreta_test_plan.rst
+++ b/test_plans/pmdrssreta_test_plan.rst
@@ -72,7 +72,7 @@ handled by a different logical core.
 
 The RSS RETA update feature is designed to make RSS more flexible by allowing
 users to define the correspondence between the seven LSBs of hash result and
-the queue id(RSS output index) by them self.
+the queue id(RSS output index) by themself.
 
 
 Test Case:  Results - IO Forwarding Mode
@@ -92,7 +92,7 @@ Testpmd configuration - 2 RX/TX queues per port
 
 ::
 
-  testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
+  testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
   --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 \
   --rxq=2 --txq=2
 
@@ -101,7 +101,7 @@ Testpmd configuration - 9 RX/TX queues per port
 
 ::
 
-  testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
+  testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
   --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 \
   --rxq=9 --txq=9
 
@@ -110,7 +110,7 @@ Testpmd configuration - 16 RX/TX queues per port
 
 ::
 
-  testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
+  testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
   --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 \
   --rxq=16 --txq=16
 
@@ -148,9 +148,9 @@ interactive commands of the ``testpmd`` application.
 tester Configuration
 --------------------
 
-#. In order to make most entries of the reta to be tested,the traffic
+#. In order to make most entries of the reta to be tested, the traffic
    generator has to be configured to randomize the value of the 5-tuple fields
-   of the transmitted IP/UDP packets so that RSS hash function output of
+   of the transmitted IP/UDP packets, so that RSS hash function output of
    5-tuple fields covers most of reta index.
 
 #. Set the package numbers of one burst to a certain value.
@@ -176,3 +176,17 @@ Example output (1P/2Q)  received by the dut):::
 +--------------+-------------+------------+-----------------+------+
 | 127          |             |            |                 |      |
 +--------------+-------------+------------+-----------------+------+
+
+Test Case:  Check RSS key size
+==============================
+
+Different NIC types support different RSS hasd key size.
+Use the testpmd command::
+
+  testpmd command: show port info all
+
+Get the RSS hash key size::
+
+  Hash key size in bytes: 52
+
+Check the value to the key size supported by NIC.
-- 
2.5.0

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

* Re: [dts] [PATCH] test_plans: Add test case Check RSS key size
  2019-01-15 11:03 [dts] [PATCH] test_plans: Add test case Check RSS key size Peng Yuan
@ 2019-01-21  6:39 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-01-21  6:39 UTC (permalink / raw)
  To: Peng, Yuan, dts; +Cc: Peng, Yuan

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan
> Sent: Tuesday, January 15, 2019 7:04 PM
> To: dts@dpdk.org
> Cc: Peng, Yuan <yuan.peng@intel.com>
> Subject: [dts] [PATCH] test_plans: Add test case Check RSS key size
> 
> Add test case "Check RSS key size" to pmdrssreta_test_plan.rst
> 
> Signed-off-by: Peng Yuan <yuan.peng@intel.com>
> 
> diff --git a/test_plans/pmdrssreta_test_plan.rst
> b/test_plans/pmdrssreta_test_plan.rst
> index 684e289..09f69c1 100644
> --- a/test_plans/pmdrssreta_test_plan.rst
> +++ b/test_plans/pmdrssreta_test_plan.rst
> @@ -72,7 +72,7 @@ handled by a different logical core.
> 
>  The RSS RETA update feature is designed to make RSS more flexible by allowing
> users to define the correspondence between the seven LSBs of hash result and -
> the queue id(RSS output index) by them self.
> +the queue id(RSS output index) by themself.
> 
> 
>  Test Case:  Results - IO Forwarding Mode @@ -92,7 +92,7 @@ Testpmd
> configuration - 2 RX/TX queues per port
> 
>  ::
> 
> -  testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
> +  testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512
> + --burst=32 \
>    --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --
> mbcache=128 \
>    --rxq=2 --txq=2
> 
> @@ -101,7 +101,7 @@ Testpmd configuration - 9 RX/TX queues per port
> 
>  ::
> 
> -  testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
> +  testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512
> + --burst=32 \
>    --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --
> mbcache=128 \
>    --rxq=9 --txq=9
> 
> @@ -110,7 +110,7 @@ Testpmd configuration - 16 RX/TX queues per port
> 
>  ::
> 
> -  testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512 --burst=32 \
> +  testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=512 --txd=512
> + --burst=32 \
>    --txpt=36 --txht=0 --txwt=0 --txfreet=32 --rxfreet=64 --txrst=32 --
> mbcache=128 \
>    --rxq=16 --txq=16
> 
> @@ -148,9 +148,9 @@ interactive commands of the ``testpmd`` application.
>  tester Configuration
>  --------------------
> 
> -#. In order to make most entries of the reta to be tested,the traffic
> +#. In order to make most entries of the reta to be tested, the traffic
>     generator has to be configured to randomize the value of the 5-tuple fields
> -   of the transmitted IP/UDP packets so that RSS hash function output of
> +   of the transmitted IP/UDP packets, so that RSS hash function output
> + of
>     5-tuple fields covers most of reta index.
> 
>  #. Set the package numbers of one burst to a certain value.
> @@ -176,3 +176,17 @@ Example output (1P/2Q)  received by the dut):::
>  +--------------+-------------+------------+-----------------+------+
>  | 127          |             |            |                 |      |
>  +--------------+-------------+------------+-----------------+------+
> +
> +Test Case:  Check RSS key size
> +==============================
> +
> +Different NIC types support different RSS hasd key size.
> +Use the testpmd command::
> +
> +  testpmd command: show port info all
> +
> +Get the RSS hash key size::
> +
> +  Hash key size in bytes: 52
> +
> +Check the value to the key size supported by NIC.
> --
> 2.5.0

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

end of thread, other threads:[~2019-01-21  6:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-15 11:03 [dts] [PATCH] test_plans: Add test case Check RSS key size Peng Yuan
2019-01-21  6:39 ` 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).