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 7613CA046B for ; Wed, 21 Aug 2019 11:23:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 27B241BEEE; Wed, 21 Aug 2019 11:23:56 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 02E781BEE8 for ; Wed, 21 Aug 2019 11:23:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2019 02:23:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,412,1559545200"; d="scan'208";a="378888155" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 21 Aug 2019 02:23:52 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 21 Aug 2019 02:23:52 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 21 Aug 2019 02:23:52 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.139]) with mapi id 14.03.0439.000; Wed, 21 Aug 2019 17:23:50 +0800 From: "Tu, Lijuan" To: "nareddy@marvell.com" , "dts@dpdk.org" CC: "fmasood@marvell.com" , "avijay@marvell.com" Thread-Topic: [dts] [PATCH] TestSuite_pmdrssreta.py: Modified rss ket size for cavium_a064 Thread-Index: AQHVUOD1iDXHK3jbGE+lSRhAGAEjD6cFYnrw Date: Wed, 21 Aug 2019 09:23:49 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB04283@SHSMSX101.ccr.corp.intel.com> References: <1565595409-5768-1-git-send-email-nareddy@marvell.com> In-Reply-To: <1565595409-5768-1-git-send-email-nareddy@marvell.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTcxZDMwYTQtOTI0YS00OGZhLWJkZmYtNWM5ZDA4NDIxZjc1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSnRTQ1wveXNsaURHYWpPXC9YQWNBSGprNzRZZWtUT2ZEQmJ6WHZ4YzhNMzNzelJvelVNRzZMTE5RMmt4YmczOXdkIn0= 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] TestSuite_pmdrssreta.py: Modified rss ket size for cavium_a064 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 > nareddy@marvell.com > Sent: Monday, August 12, 2019 3:37 PM > To: dts@dpdk.org > Cc: fmasood@marvell.com; avijay@marvell.com; Praneeth Reddy > > Subject: [dts] [PATCH] TestSuite_pmdrssreta.py: Modified rss ket size for > cavium_a064 >=20 > From: Praneeth Reddy >=20 > Required rss key size for cavium_a064 is 48 >=20 > Signed-off-by: Praneeth Reddy > --- > 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..fd1c181 100644 > --- a/tests/TestSuite_pmdrssreta.py > +++ b/tests/TestSuite_pmdrssreta.py > @@ -149,7 +149,7 @@ class TestPmdrssreta(TestCase): > i =3D 0 > for tmp_reta_line in reta_lines: > status =3D "false" > - if(self.nic in ["cavium_a063"]): > + if(self.nic in ["cavium_a063", "cavium_a064"]): > # compute the hash result using simple XOR. > hash_index_tmp =3D 0 > index_tmp =3D tmp_reta_line["RSS hash"].strip("0x") @@ -= 233,7 > +233,7 @@ class TestPmdrssreta(TestCase): > self.verify("error" not in out, "Configuration of RSS ha= sh failed: > Invalid argument") >=20 > # configure the reta with specific mappings. > - if(self.nic in ["cavium_a063"]): > + if(self.nic in ["cavium_a063", "cavium_a064"]): > for i in range(64): > 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, > + "e1000": 40, "redrockcanyou": 40, "atwood": 40, "boulderrapid": 40, > + "fortpark_TLV": 52, "hi1822": 40, "cavium_a063": 48, "cavium_a064": > + 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) > -- > 1.8.3.1