From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AC5EF1E34 for ; Tue, 26 Feb 2019 08:10:54 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2019 23:10:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,414,1544515200"; d="scan'208";a="129387882" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 25 Feb 2019 23:10:53 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Feb 2019 23:10:52 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Feb 2019 23:10:52 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.110]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.190]) with mapi id 14.03.0415.000; Tue, 26 Feb 2019 15:10:50 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH] test_plans: correct some typos of fortville_rss_granularity_config_test_plan.rst Thread-Index: AQHUx18wB+lPp4+RBE+KOX4Nz1R3HqXxtgaQ Date: Tue, 26 Feb 2019 07:10:50 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA27452@SHSMSX101.ccr.corp.intel.com> References: <1550476680-11079-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1550476680-11079-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2FmYmZkZGQtYTNmOS00YmYyLWEyZjctYmYxYjgxMDhkMGE3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUlhod2NJSFNPaTZ6K1hpREVTcEwyY0tMMUZtc3oyNEZMbWtxdXAxQUYyN3ZsR1RPTmJ3aWYzOEpaYmhHRXFyRiJ9 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: correct some typos of fortville_rss_granularity_config_test_plan.rst 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, 26 Feb 2019 07:10:55 -0000 Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan > Sent: Monday, February 18, 2019 3:58 PM > To: dts@dpdk.org > Cc: Peng, Yuan > Subject: [dts] [PATCH] test_plans: correct some typos of > fortville_rss_granularity_config_test_plan.rst >=20 > Correct some typos of fortville_rss_granularity_config_test_plan.rst >=20 > Signed-off-by: Peng Yuan >=20 > diff --git a/test_plans/fortville_rss_granularity_config_test_plan.rst > b/test_plans/fortville_rss_granularity_config_test_plan.rst > index 4666d9c..c77f7e8 100644 > --- a/test_plans/fortville_rss_granularity_config_test_plan.rst > +++ b/test_plans/fortville_rss_granularity_config_test_plan.rst > @@ -64,11 +64,17 @@ Prerequisites > * 1x Fortville_spirit NIC (2x 40G) > * 2x Fortville_spirit_single NIC (1x 40G) >=20 > -2. software: > +2. Software: >=20 > * dpdk: http://dpdk.org/git/dpdk > * scapy: http://www.secdev.org/projects/scapy/ >=20 > +3. Bind one port to DPDK driver:: > + > + ./usertools/dpdk-devbind.py -b igb_uio 05:00.0 > + > + Suppose the MAC address of the port is "00:00:00:00:01:00". > + >=20 > Test Case 1: test with flow type ipv4-tcp > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -77,7 +83,7 @@ Test Case 1: test with flow type ipv4-tcp >=20 > 1. set up testpmd with Fortville NICs:: >=20 > - ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe --portmask= =3D0x3 --rxq=3D16 > --txq=3D16 --tx-offloads=3D0x8fff > + ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe > + --portmask=3D0x1 --rxq=3D16 --txq=3D16 --tx-offloads=3D0x8fff >=20 > 2. Reta Configuration(optional, if not set, will use default):: >=20 > @@ -105,7 +111,7 @@ Test Case 1: test with flow type ipv4-tcp >=20 > 2. using scapy to send packets with ipv4-tcp on tester:: >=20 > - sendp([Ether(dst=3D"%s")/IP(src=3D"192.168.0.%d", > dst=3D"192.168.0.%d")/TCP(sport=3D1024,dport=3D1025)], iface=3D"%s") > + sendp([Ether(dst=3D"00:00:00:00:01:00")/IP(src=3D"192.168.0.1", > + dst=3D"192.168.0.2")/TCP(sport=3D1024,dport=3D1025)], iface=3Dtester_it= f) >=20 > then got hash value and queue value that output from the testpmd on D= UT. >=20 > @@ -152,7 +158,7 @@ Test Case 2: test with flow type ipv4-udp >=20 > 1. set up testpmd with Fortville NICs:: >=20 > - ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe --portmask= =3D0x3 --rxq=3D16 > --txq=3D16 --tx-offloads=3D0x8fff > + ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe > + --portmask=3D0x1 --rxq=3D16 --txq=3D16 --tx-offloads=3D0x8fff >=20 > 2. Reta Configuration(optional, if not set, will use default):: >=20 > @@ -181,7 +187,7 @@ Test Case 2: test with flow type ipv4-udp 2. using s= capy > to send packets with ipv4-udp on tester:: >=20 >=20 > - sendp([Ether(dst=3D"%s")/IP(src=3D"192.168.0.%d", > dst=3D"192.168.0.%d")/UDP(sport=3D1024,dport=3D1025)], iface=3D"%s")) > + sendp([Ether(dst=3D"00:00:00:00:01:00")/IP(src=3D"192.168.0.1", > + dst=3D"192.168.0.2")/UDP(sport=3D1024,dport=3D1025)], iface=3Dtester_it= f)) >=20 > then got hash value and queue value that output from the testpmd on D= UT. >=20 > @@ -226,7 +232,7 @@ Test Case 3: test with flow type ipv6-tcp test metho= d is > same as Test Case 1, but it need change all ipv4 to ipv6, and using scap= y to send > packets with ipv6-tcp on tester:: >=20 > - sendp([Ether(dst=3D"%s")/IPv6(src=3D"3ffe:2501:200:1fff::%d", > dst=3D"3ffe:2501:200:3::%d")/TCP(sport=3D1024,dport=3D1025)], iface=3D"%s= ") > + > + sendp([Ether(dst=3D"00:00:00:00:01:00")/IPv6(src=3D"3ffe:2501:200:1fff:= :1" > + , dst=3D"3ffe:2501:200:3::2")/TCP(sport=3D1024,dport=3D1025)], > + iface=3Dtester_itf) >=20 > and the test result should be same as Test Case 1. >=20 > @@ -237,7 +243,7 @@ Test Case 4: test with flow type ipv6-udp test metho= d is > same as Test Case 2, but it need change all ipv4 to ipv6, and using scap= y to send > packets with ipv6-udp on tester:: >=20 > - sendp([Ether(dst=3D"%s")/IPv6(src=3D"3ffe:2501:200:1fff::%d", > dst=3D"3ffe:2501:200:3::%d")/UDP(sport=3D1024,dport=3D1025)], iface=3D"%s= ") > + > + sendp([Ether(dst=3D"00:00:00:00:01:00")/IPv6(src=3D"3ffe:2501:200:1fff:= :1" > + , dst=3D"3ffe:2501:200:3::2")/UDP(sport=3D1024,dport=3D1025)], > + iface=3Dtester_itf) >=20 > and the test result should be same as Test Case 2. >=20 > @@ -248,7 +254,7 @@ Test Case 5: test dual vlan(QinQ) >=20 > 1. set up testpmd with Fortville NICs:: >=20 > - ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe --portmask= =3D0x3 --rxq=3D16 > --txq=3D16 --tx-offloads=3D0x8fff > + ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe > + --portmask=3D0x1 --rxq=3D16 --txq=3D16 --tx-offloads=3D0x8fff >=20 > 2. set qinq on:: >=20 > @@ -277,7 +283,7 @@ Test Case 5: test dual vlan(QinQ) 2. using scapy to = send > packets with dual vlan (QinQ) on tester:: >=20 >=20 > - > sendp([Ether(dst=3D"%s")/Dot1Q(id=3D0x8100,vlan=3D%s)/Dot1Q(id=3D0x8100,v= lan=3D%s)], > iface=3D"%s") > + > + sendp([Ether(dst=3D"00:00:00:00:01:00")/Dot1Q(id=3D0x8100,vlan=3D1)/Dot= 1Q(id > + =3D0x8100,vlan=3D2)], iface=3Dtester_itf) >=20 > then got hash value and queue value that output from the testpmd on D= UT. >=20 > @@ -302,7 +308,7 @@ Test Case 5: test dual vlan(QinQ) > testpmd> set_hash_input_set 0 l2_payload ivlan add >=20 > send packet as step 2, got hash value and queue value that output fro= m the > testpmd on DUT, the value should be > - different with the values in step 2. > + different with the values in step 2 & step 4. >=20 > Test Case 6: 32-bit GRE keys and 24-bit GRE keys test > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > @@ -311,7 +317,7 @@ Test Case 6: 32-bit GRE keys and 24-bit GRE keys test >=20 > 1. set up testpmd with Fortville NICs:: >=20 > - ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe --portmask= =3D0x3 --rxq=3D16 > --txq=3D16 --tx-offloads=3D0x8fff > + ./testpmd -c 0x1ffff -n 4 -- -i --coremask=3D0x1fffe > + --portmask=3D0x1 --rxq=3D16 --txq=3D16 --tx-offloads=3D0x8fff >=20 > 2. Reta Configuration(optional, if not set, will use default):: >=20 > @@ -339,8 +345,7 @@ Test Case 6: 32-bit GRE keys and 24-bit GRE keys test >=20 > 2. using scapy to send packets with GRE header on tester:: >=20 > - > - > sendp([Ether(dst=3D"%s")/IP(src=3D"192.168.0.1",dst=3D"192.168.0.2",proto= =3D47)/GRE( > key_present=3D1,proto=3D2048,key=3D67108863)/IP()], iface=3D"%s") > + > + sendp([Ether(dst=3D"00:00:00:00:01:00")/IP(src=3D"192.168.0.1",dst=3D"1= 92.16 > + 8.0.2",proto=3D47)/GRE(key_present=3D1,proto=3D2048,key=3D67108863)/IP(= )], > + iface=3Dtester_itf) >=20 > then got hash value and queue value that output from the testpmd on D= UT. >=20 > @@ -365,14 +370,14 @@ Test Case 6: 32-bit GRE keys and 24-bit GRE keys te= st > testpmd> set_hash_input_set 0 ipv4-other gre-key add >=20 > send packet as step 2, got hash value and queue value that output fro= m the > testpmd on DUT, the values should be > - different with the values in step 2. > + different with the values in step 2 & step3. >=20 > -5. set gre-key-len=3D4 by testpmd on dut, enable gre-key:: > +6. set gre-key-len=3D4 by testpmd on dut, enable gre-key:: >=20 > testpmd> global_config 0 gre-key-len 4 >=20 > send packet as step 2, got hash value and queue value that output fro= m the > testpmd on DUT, the values should be > - different with the values in step 4. > + different with the values in step 2 & step3 & step 5. >=20 > So with gre-key-len=3D3 (24bit gre key) or gre-key-len=3D4 (32bit gre= key), > different rss hash value and queue value > can be got, it can be proved that 32bit & 24bit gre key are supported= by > Fortville. > -- > 2.5.0