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 1B5B9A0471 for ; Mon, 12 Aug 2019 07:23:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E1D202629; Mon, 12 Aug 2019 07:23:41 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B200A3DC for ; Mon, 12 Aug 2019 07:23:39 +0200 (CEST) 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; 11 Aug 2019 22:23:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,376,1559545200"; d="scan'208";a="351076061" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 11 Aug 2019 22:23:38 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 11 Aug 2019 22:23:37 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 11 Aug 2019 22:23:37 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.163]) with mapi id 14.03.0439.000; Mon, 12 Aug 2019 13:23:35 +0800 From: "Wu, ChangqingX" 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: AQHVTpLz+Ou5SS3+30CqEa+kKVUb0Kb2/wNA Date: Mon, 12 Aug 2019 05:23:34 +0000 Message-ID: <7F81DD3887C58F49A6B2EFEC3C28E22E0B744A34@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: 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] 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" Tested-by: Wu, ChangqingX -----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 add twinpond/sagepond/sageville to script. Signed-off-by: Wenjie Li --- tests/TestSuite_pmdrssreta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py = 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", "boul= derrapid"]): + elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boul= derrapid", "twinpond"]): # compute the hash result of five tuple into the 7 LSBs va= lue. 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_en= tries[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 Te= stPmdrssreta(TestCase): self.dut.send_expect("quit", "# ", 30) =20 def test_rss_key_size(self): - nic_rss_key_size =3D {"fortville_eagle": 52, "fortville_spirit": 5= 2, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40, "e100= 0": 40, "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40, "fortpark_T= LV": 52, "hi1822": 40, "cavium_a063": 48} + nic_rss_key_size =3D {"fortville_eagle": 52, "fortville_spirit":=20 + 52, "fortville_spirit_single": 52, "fortville_25g": 52, "niantic": 40,=20 + "twinpond": 40, "sagepond": 40, "sageville": 40, "e1000": 40,=20 + "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40,=20 + "fortpark_TLV": 52, "hi1822": 40, "cavium_a063": 48} self.verify(self.nic in nic_rss_key_size.keys(), "Not supporte rss= key on %s" % self.nic) =20 dutPorts =3D self.dut.get_ports(self.nic) -- 2.17.1