test suite reviews and discussions
 help / color / mirror / Atom feed
From: Peng Yuan <yuan.peng@intel.com>
To: dts@dpdk.org
Cc: Peng Yuan <yuan.peng@intel.com>
Subject: [dts] [PATCH] test_plans: Add test case Check RSS key size
Date: Tue, 15 Jan 2019 19:03:47 +0800	[thread overview]
Message-ID: <1547550227-2453-1-git-send-email-yuan.peng@intel.com> (raw)

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

             reply	other threads:[~2019-01-15 11:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-15 11:03 Peng Yuan [this message]
2019-01-21  6:39 ` Tu, Lijuan

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=1547550227-2453-1-git-send-email-yuan.peng@intel.com \
    --to=yuan.peng@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).