From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 32D14A0096 for ; Thu, 14 Mar 2019 10:26:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3BC83572; Thu, 14 Mar 2019 10:26:52 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E8EBF2C17 for ; Thu, 14 Mar 2019 10:26:51 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2019 02:26:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,477,1544515200"; d="scan'208";a="307135474" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 14 Mar 2019 02:26:50 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 14 Mar 2019 02:26:49 -0700 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; Thu, 14 Mar 2019 02:26:48 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.80]) with mapi id 14.03.0415.000; Thu, 14 Mar 2019 17:26:44 +0800 From: "Tu, Lijuan" To: "Lin, Xueqin" , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts] [PATCH] test_plans/vf_rss: correct grammar and command Thread-Index: AQHU1Mkqy5rk7syMM0SkGSSJVG0tt6YK5RJw Date: Thu, 14 Mar 2019 09:26:44 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA42DEB@SHSMSX101.ccr.corp.intel.com> References: <1551929701-124895-1-git-send-email-xueqin.lin@intel.com> In-Reply-To: <1551929701-124895-1-git-send-email-xueqin.lin@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGJiYmQ4N2EtNmI5ZC00OGUzLWE3M2UtNjFlZTFmY2Y3ZjNkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY1lxc3FCRll5S2w2S2ljQVRrSkF3TjFvMlphNmg2MDExaUE5MURXWUhNWm1sR05ldUs0SkhYSHhRWVRGNUk2eSJ9 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/vf_rss: correct grammar and command 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Comments inline > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xueqin Lin > Sent: Thursday, March 7, 2019 11:35 AM > To: dts@dpdk.org > Cc: Lin, Xueqin > Subject: [dts] [PATCH] test_plans/vf_rss: correct grammar and command >=20 > Signed-off-by: Xueqin Lin >=20 > --- > test_plans/vf_rss_test_plan.rst | 32 ++++++++++++++++---------------- > 1 file changed, 16 insertions(+), 16 deletions(-) >=20 > diff --git a/test_plans/vf_rss_test_plan.rst b/test_plans/vf_rss_test_pla= n.rst > index c425227..40c2834 100644 > --- a/test_plans/vf_rss_test_plan.rst > +++ b/test_plans/vf_rss_test_plan.rst > @@ -45,9 +45,9 @@ Prerequisites > * 1x Fortville_spirit NIC (2x 40G) > * 2x Fortville_spirit_single NIC (1x 40G) >=20 > -The one port of the 82599 connect to the Fortville_eagle; -The one port = of > Fortville_spirit connect to Fortville_spirit_single. > -The three kinds of NICs are the target NICs. the connected NICs can send > packets > +The one port of the 82599 connects to the Fortville_eagle; The one port > +of Fortville_spirit connects to Fortville_spirit_single. > +The three kinds of NICs are the target NICs, the connected NICs can > +send packets > to these three NICs using scapy. [Lijuan] I think port connection should be more common, we don't require th= e specific connection. It's ok for 82599 connecting to 82599 or X710. >=20 > Network Traffic > @@ -60,19 +60,19 @@ handled by a different logical core. > #. The receive packet is parsed into the header fields used by the hash > operation (such as IP addresses, TCP port, etc.) >=20 > -#. A hash calculation is performed. The Fortville supports three hash f= unction: > +#. A hash calculation is performed. The Fortville supports three hash fu= nction: > Toeplitz, simple XOR and their Symmetric RSS. >=20 > -#. Hash result are used as an index into a 128/512 entry > +#. Hash results are used as an index into a 128/512 entry > 'redirection table'. >=20 > -#. Niantic VF only support simple default hash algorithm(simple). Fortvi= lle NIC > +#. Niantic VF only supports simple default hash algorithm(simple). > +Fortville NICs > support all hash algorithm only used dpdk driver on host. when used k= ernel > driver on host, > - fortville nic only support default hash algorithm(simple). > + fortville NICs only support default hash algorithm(simple). >=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: test_rss_hash > @@ -100,7 +100,7 @@ interactive commands of the ``testpmd`` application. >=20 > 1. Got the pci device id of DUT, for example:: >=20 > - ./dpdk_nic_bind.py --st > + ./usertools/dpdk-devbind.py -s >=20 > 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259f= 0 drv=3Di40e > unused=3D > 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259f= 1 drv=3Di40e > unused=3D @@ -109,7 +109,7 @@ interactive commands of the ``testpmd`` > application. >=20 > echo 1 > /sys/bus/pci/devices/0000\:81\:00.0/sriov_numvfs > echo 1 > /sys/bus/pci/devices/0000\:81\:00.1/sriov_numvfs > - ./dpdk_nic_bind.py --st > + ./usertools/dpdk-devbind.py -s >=20 > 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259f= 0 drv=3Di40e > unused=3D > 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259f= 1 drv=3Di40e > unused=3D @@ -135,7 +135,7 @@ interactive commands of the ``testpmd`` > application. > virsh nodedev-detach pci_0000_81_02_0; > virsh nodedev-detach pci_0000_81_0a_0; >=20 > - ./dpdk_nic_bind.py --st > + ./usertools/dpdk-devbind.py -s >=20 > 0000:81:00.0 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259f= 0 drv=3Di40e > unused=3D > 0000:81:00.1 'Ethernet Controller X710 for 10GbE SFP+' if=3Dens259f= 1 drv=3Di40e > unused=3D @@ -155,7 +155,7 @@ interactive commands of the ``testpmd`` > application. > bind them to igb_uio driver, and then start testpmd, set it in mac fo= rward > mode:: >=20 > - ./tools/dpdk_nic_bind.py --bind=3Digb_uio 00:06.0 00:07.0 > + ./usertools/dpdk-devbind.py --bind=3Digb_uio 00:06.0 00:07.0 >=20 > 6. Reta Configuration. 128 reta entries configuration:: >=20 > @@ -167,7 +167,7 @@ interactive commands of the ``testpmd`` application. >=20 > 8. Rss received package type configuration two received packet types > configuration:: >=20 > - testpmd command: port config 0 rss ip/udp/tcp > + testpmd command: port config all rss ip/udp/tcp >=20 > 9. Verbose configuration:: >=20 > @@ -177,8 +177,8 @@ interactive commands of the ``testpmd`` application. >=20 > testpmd command: start >=20 > -11. Send packet and check rx port received packet by different queue. > - different hash type send different packet, example hash type is ip, = packet src > and dts ip not different:: > +11. Send different hash types' packets with different keywords, then che= ck rx > port > + could receive packets by different queues:: >=20 > sendp([Ether(dst=3D"90:e2:ba:36:99:3c")/IP(src=3D"192.168.0.4", > dst=3D"192.168.0.5")], iface=3D"eth3") > sendp([Ether(dst=3D"90:e2:ba:36:99:3c")/IP(src=3D"192.168.0.5", > dst=3D"192.168.0.4")], iface=3D"eth3") @@ -188,6 +188,6 @@ Test Case: te= st_reta >=20 > This case test hash reta table, the test steps same with test_rss_hash e= xcept > config hash reta table >=20 > -Before send packet, config hash reta,512(niantic nic have 128 reta) reta= entries > configuration:: > +Before send packet, config hash reta,512(niantic NICs have 128 reta) ret= a > entries configuration:: >=20 > testpmd command: port config 0 rss reta (hash_index,queue_id) > -- > 2.5.5