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 0362FA00C3; Thu, 23 Apr 2020 08:37:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 872EC1BF91; Thu, 23 Apr 2020 08:37:55 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D5BAA1C43F for ; Thu, 23 Apr 2020 08:37:53 +0200 (CEST) IronPort-SDR: 6wIrcb7YQjXw3IysIIU7jR3jfacYRJjIZ535wRY3Ek94JW1B7YdZjVNVfP0k5d3YeUpaObOGGC 8aMkTGDFvN1A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 23:37:52 -0700 IronPort-SDR: XJxeSnF+ZLE7Q55R0AXgqP/b8NPp/9JGNpUZYv4iGXofo95miEeE3HtUpF7GGz8qxu7Pxd0tIc IbuViZq+WBrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="244765968" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 22 Apr 2020 23:37:52 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 23:37:28 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 23:37:28 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.89]) with mapi id 14.03.0439.000; Thu, 23 Apr 2020 14:37:26 +0800 From: "Tu, Lijuan" To: "Mei, JianweiX" , "dts@dpdk.org" CC: "Mei, JianweiX" Thread-Topic: [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond Thread-Index: AQHWF9x4Pz1pwP2wKEmONr+zozuuq6iGQ5EQ Date: Thu, 23 Apr 2020 06:37:25 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0F2BC@SHSMSX101.ccr.corp.intel.com> References: <20200422160224.7904-1-jianweix.mei@intel.com> In-Reply-To: <20200422160224.7904-1-jianweix.mei@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-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 nic twinpond 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 Mei Jianwei > Sent: Thursday, April 23, 2020 12:02 AM > To: dts@dpdk.org > Cc: Mei, JianweiX > Subject: [dts] [PATCH V1] tests/pmdrssreta:add nic twinpond >=20 > add NIC twinpond. >=20 > Signed-off-by: Mei Jianwei > --- > tests/TestSuite_pmdrssreta.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.p= y > index 8227961..7f77ca9 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", "bo= ulderrapid", > "foxville"]): > + elif (self.nic in ["niantic", "redrockcanyou", "atwood", "bo= ulderrapid", > "foxville", "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: > @@ -260,7 +260,7 @@ class TestPmdrssreta(TestCase): > self.dut.send_expect("quit", "# ", 30) >=20 > def test_rss_key_size(self): > - nic_rss_key_size =3D {"columbiaville_25g": 52, "columbiaville_10= 0g": 52, > "fortville_eagle": 52, "fortville_spirit": 52, "fortville_spirit_single":= 52, > "fortville_25g": 52, "niantic": 40, "e1000": 40, "redrockcanyou": 40, "at= wood": > 40, "boulderrapid": 40, "fortpark_TLV": 52,"fortpark_BASE-T": 52, "hi182= 2": > 40, "cavium_a063": 48, "cavium_a064": 48, "carlsville": 52, "sagepond": 4= 0, > "sageville": 40, "foxville": 40} > + nic_rss_key_size =3D {"columbiaville_25g": 52, > + "columbiaville_100g": 52, "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,"fortpark_BASE-T": 52, "hi1822": 40, "cavium_a063": > + 48, "cavium_a064": 48, "carlsville": 52, "sagepond": 40, "sageville": > + 40, "foxville": 40, "twinpond": 40} > self.verify(self.nic in list(nic_rss_key_size.keys()), "Not supp= orte rss key > on %s" % self.nic) >=20 > dutPorts =3D self.dut.get_ports(self.nic) > -- > 2.18.2