From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 92048201 for ; Thu, 2 Mar 2017 09:28:52 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2017 00:28:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,230,1484035200"; d="scan'208";a="70712538" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 02 Mar 2017 00:28:51 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Mar 2017 00:28:50 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Mar 2017 00:28:50 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Thu, 2 Mar 2017 16:28:48 +0800 From: "Xu, HuilongX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1 1/2] add dyanmic config bonding rss hash test plan Thread-Index: AQHSkmbgsPqpL0Ee50KhUpp1xiilG6F/c1MAgAHB5IA= Date: Thu, 2 Mar 2017 08:28:47 +0000 Message-ID: References: <1488357408-42469-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62D6C376@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62D6C376@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 V1 1/2] add dyanmic config bonding rss hash test plan 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: Thu, 02 Mar 2017 08:28:53 -0000 Hi yong, Some comments below > -----Original Message----- > From: Liu, Yong > Sent: Wednesday, March 01, 2017 9:24 PM > To: Xu, HuilongX; dts@dpdk.org > Cc: Xu, HuilongX > Subject: RE: [dts] [PATCH V1 1/2] add dyanmic config bonding rss hash tes= t > plan >=20 > Huilong, > Some comments below. >=20 > Thanks, > Marvin >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > > Sent: Wednesday, March 01, 2017 4:37 PM > > To: dts@dpdk.org > > Cc: Xu, HuilongX > > Subject: [dts] [PATCH V1 1/2] add dyanmic config bonding rss hash test > > plan > > > > Signed-off-by: xu,huilong > > --- > > test_plans/pmdrss_hash_test_plan.rst | 24 > ++++++++++++++++++++++++ > > 1 file changed, 24 insertions(+) > > > > diff --git a/test_plans/pmdrss_hash_test_plan.rst > > b/test_plans/pmdrss_hash_test_plan.rst > > index 4922d3b..15e6b3b 100644 > > --- a/test_plans/pmdrss_hash_test_plan.rst > > +++ b/test_plans/pmdrss_hash_test_plan.rst > > @@ -150,3 +150,27 @@ Test Case: test_simple_symmetric The same as > > the above two test cases. Just pay attention to set the hash function > > to "simple xor" > > > > > > +Test Case: test_dyanmic_rss_bond_config > > +=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 >=20 > Typo: should be dynamic_rss_bond_configt Thanks a lot, I will send V2 patch and fix it >=20 > > +This case test bond slaves will auto sync rss hash config, so it only > > support fortville nic. > > + > > +#1. set up testpmd woth fortville NICs:: > > +./testpmd -c f -n 4 -- -i --portmask 0x3 --txqflags=3D0 > > + > > +#2 creat bond device with mode 3:: > > + create bonded device 3 0 > > +#3 add slave to bond device:: > > + add bonding slave 0 2 > > + add bonding slave 1 2 > > +#4 get default hash algorithm on slave:: > > + get_hash_global_config 0 > > + get_hash_global_config 1 > > +#5 set hash algorithm on slave 0:: > > + set_hash_global_config 0 simple_xor ipv4-other enable >=20 > Fortville not only support simple_xor, suggest test all kinds of hash alg= orithm > supported by Fortville. This case only test slave 1 will auto sync slave 0 hash function, and slave= 0 and slave1 default hash function is Toeplitz. So only change slave 0 us= ed simple_xor, then slave 1 will auto use simple_xor hash function replace Toeplitz hash function. all hash algorithm and config will test in pmd_rsshash test suite. And=20 It include simple_xor/simple_xor symmetry/ Toeplitz/ Toeplitz symmetry and = different hash key. So not need test in this case. > > +#6 get hash algorithm on slave 0 and 1:: > > + get_hash_global_config 0 > > + get_hash_global_config 1 > > +#7 check slave 0 and 1 use same hash algorithm > > + > > + > > + > > -- > > 1.9.3