From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A6EC5A0471 for ; Mon, 12 Aug 2019 08:55:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9B3322C55; Mon, 12 Aug 2019 08:55:46 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 90C692C5 for ; Mon, 12 Aug 2019 08:55:44 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Aug 2019 23:55:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,376,1559545200"; d="scan'208";a="178248998" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 11 Aug 2019 23:55:43 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 11 Aug 2019 23:55:42 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 11 Aug 2019 23:55:42 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Mon, 12 Aug 2019 14:55:40 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] tests/pmdrssreta: add twinpond/sagepond/sageville to script Thread-Index: AQHVTpLzoB5unXKJEkuEWt3FgGh9JKb3GL1g Date: Mon, 12 Aug 2019 06:55:40 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB01898@SHSMSX101.ccr.corp.intel.com> References: <1565374203-17179-1-git-send-email-wenjiex.a.li@intel.com> <1565374203-17179-2-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1565374203-17179-2-git-send-email-wenjiex.a.li@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.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODMxMzFhYzUtZWVmYy00NmIwLThkMDktN2FmOWViYjE0ZDFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiK1pkR2pxNkRWeWlESmR6R3AwOEdDMmJVOEZjME52cGl3XC9xTFVkdlJIQTV2NzF2RVRabDVnK1d1bCtpNjJHKzIifQ== 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] tests/pmdrssreta: add twinpond/sagepond/sageville to script 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li > Sent: Saturday, August 10, 2019 2:10 AM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] tests/pmdrssreta: add > twinpond/sagepond/sageville to script >=20 > add twinpond/sagepond/sageville to script. >=20 > Signed-off-by: Wenjie Li > --- > tests/TestSuite_pmdrssreta.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.p= y > index 9d29af8..e117157 100644 > --- a/tests/TestSuite_pmdrssreta.py > +++ b/tests/TestSuite_pmdrssreta.py > @@ -160,7 +160,7 @@ class TestPmdrssreta(TestCase): > hash_index =3D int(hash_index_tmp) % 64 > elif(self.nic in ["hi1822"]): > hash_index =3D int(tmp_reta_line["RSS hash"], 16) % 256 > - elif (self.nic in ["niantic", "redrockcanyou", "atwood", > "boulderrapid"]): > + elif (self.nic in ["niantic", "redrockcanyou", "atwood", "bo= ulderrapid", > "twinpond"]): > # compute the hash result of five tuple into the 7 LSBs = value. > hash_index =3D int(tmp_reta_line["RSS hash"], 16) % 128 > else: > @@ -243,7 +243,7 @@ class TestPmdrssreta(TestCase): > reta_entries.insert(i, random.randint(0, queue -= 1)) > self.dut.send_expect( > "port config 0 rss reta (%d,%d)" % (i, reta_= entries[i]), > "testpmd> ") > - elif (self.nic in ["niantic", "redrockcanyou", "atwood", > "boulderrapid"]): > + elif (self.nic in ["niantic", "redrockcanyou", "atwood", > "boulderrapid", "twinpond"]): > for i in range(128): > reta_entries.insert(i, random.randint(0, queue -= 1)) > self.dut.send_expect( @@ -259,7 +259,7 @@ class > TestPmdrssreta(TestCase): > self.dut.send_expect("quit", "# ", 30) >=20 > def test_rss_key_size(self): > - nic_rss_key_size =3D {"fortville_eagle": 52, "fortville_spirit":= 52, > "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, "e1000= ": 40, > "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40, "fortpark_TLV": 5= 2, > "hi1822": 40, "cavium_a063": 48} > + nic_rss_key_size =3D {"fortville_eagle": 52, "fortville_spirit": > + 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, > + "twinpond": 40, "sagepond": 40, "sageville": 40, "e1000": 40, > + "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40, > + "fortpark_TLV": 52, "hi1822": 40, "cavium_a063": 48} > self.verify(self.nic in nic_rss_key_size.keys(), "Not supporte r= ss key > on %s" % self.nic) >=20 > dutPorts =3D self.dut.get_ports(self.nic) > -- > 2.17.1