From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id F0E6D5F1B for ; Tue, 15 Jan 2019 12:00:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2019 03:00:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,481,1539673200"; d="scan'208";a="134741871" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2019 03:00:07 -0800 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Tue, 15 Jan 2019 19:03:47 +0800 Message-Id: <1547550227-2453-1-git-send-email-yuan.peng@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] test_plans: Add test case Check RSS key size X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2019 11:00:09 -0000 Add test case "Check RSS key size" to pmdrssreta_test_plan.rst Signed-off-by: Peng Yuan 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