From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 3D6454C91 for ; Mon, 21 Jan 2019 07:39:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jan 2019 22:39:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,502,1539673200"; d="scan'208";a="139955093" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 20 Jan 2019 22:39:55 -0800 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 20 Jan 2019 22:39:54 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX154.amr.corp.intel.com (10.18.116.70) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 20 Jan 2019 22:39:54 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.196]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.147]) with mapi id 14.03.0415.000; Mon, 21 Jan 2019 14:39:52 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH] test_plans: Add test case Check RSS key size Thread-Index: AQHUrMGRhJ8lT6ncnkCSoF84+/kRIqW5Tqww Date: Mon, 21 Jan 2019 06:39:51 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA053B8@SHSMSX101.ccr.corp.intel.com> References: <1547550227-2453-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1547550227-2453-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTUyZmRiNDktZDEzOC00NWZlLTgwNzEtY2RhYjkxY2E3MTEwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR0xqOVplUGFDRlBLeDhaMlZqZnoxXC9rclF6ZncwWW85aWtuUjBMbEVtRDQ0ZG1ORnh2ajBQSWtMMkVqdys0OUwifQ== x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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: Mon, 21 Jan 2019 06:39:56 -0000 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 > Subject: [dts] [PATCH] test_plans: Add test case Check RSS key size >=20 > Add test case "Check RSS key size" to pmdrssreta_test_plan.rst >=20 > Signed-off-by: Peng Yuan >=20 > 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. >=20 > The RSS RETA update feature is designed to make RSS more flexible by all= owing > 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. >=20 >=20 > Test Case: Results - IO Forwarding Mode @@ -92,7 +92,7 @@ Testpmd > configuration - 2 RX/TX queues per port >=20 > :: >=20 > - testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=3D512 --txd=3D512 --= burst=3D32 \ > + testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=3D512 --txd=3D512 > + --burst=3D32 \ > --txpt=3D36 --txht=3D0 --txwt=3D0 --txfreet=3D32 --rxfreet=3D64 --txrs= t=3D32 -- > mbcache=3D128 \ > --rxq=3D2 --txq=3D2 >=20 > @@ -101,7 +101,7 @@ Testpmd configuration - 9 RX/TX queues per port >=20 > :: >=20 > - testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=3D512 --txd=3D512 --= burst=3D32 \ > + testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=3D512 --txd=3D512 > + --burst=3D32 \ > --txpt=3D36 --txht=3D0 --txwt=3D0 --txfreet=3D32 --rxfreet=3D64 --txrs= t=3D32 -- > mbcache=3D128 \ > --rxq=3D9 --txq=3D9 >=20 > @@ -110,7 +110,7 @@ Testpmd configuration - 16 RX/TX queues per port >=20 > :: >=20 > - testpmd -cffffff -n 3 -b 0000:05:00.1 -- -i --rxd=3D512 --txd=3D512 --= burst=3D32 \ > + testpmd -c ffffff -n 3 -b 0000:05:00.1 -- -i --rxd=3D512 --txd=3D512 > + --burst=3D32 \ > --txpt=3D36 --txht=3D0 --txwt=3D0 --txfreet=3D32 --rxfreet=3D64 --txrs= t=3D32 -- > mbcache=3D128 \ > --rxq=3D16 --txq=3D16 >=20 > @@ -148,9 +148,9 @@ interactive commands of the ``testpmd`` application. > tester Configuration > -------------------- >=20 > -#. 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. >=20 > #. 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 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > + > +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