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 45D52A00E6 for ; Fri, 9 Aug 2019 11:14:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2A8472B8C; Fri, 9 Aug 2019 11:14:55 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 9C8C81B19 for ; Fri, 9 Aug 2019 11:14:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2019 02:14:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,364,1559545200"; d="scan'208";a="193354151" Received: from unknown (HELO dpdk-wenjielx-KVM193.icx.intel.com) ([10.240.176.193]) by fmsmga001.fm.intel.com with ESMTP; 09 Aug 2019 02:14:48 -0700 From: Wenjie Li To: dts@dpdk.org Cc: Wenjie Li Date: Fri, 9 Aug 2019 18:10:03 +0000 Message-Id: <1565374203-17179-2-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1565374203-17179-1-git-send-email-wenjiex.a.li@intel.com> References: <1565374203-17179-1-git-send-email-wenjiex.a.li@intel.com> Subject: [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" 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 = int(hash_index_tmp) % 64 elif(self.nic in ["hi1822"]): hash_index = int(tmp_reta_line["RSS hash"], 16) % 256 - elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid"]): + elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "twinpond"]): # compute the hash result of five tuple into the 7 LSBs value. hash_index = 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) def test_rss_key_size(self): - nic_rss_key_size = {"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} + nic_rss_key_size = {"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 rss key on %s" % self.nic) dutPorts = self.dut.get_ports(self.nic) -- 2.17.1