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 F39FDA0597; Tue, 21 Apr 2020 14:57:30 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DB01D1C434; Tue, 21 Apr 2020 14:57:30 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 567831C2EE for ; Tue, 21 Apr 2020 14:57:29 +0200 (CEST) IronPort-SDR: MI1Wzks3R8a49CRIdIi8VVYpQk+h6F2Jmu6qtJ7gIj+FgBRJiyCvR+mKLsQSC/Nx2bB5xPZLlP FJLKqETEDTJA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 05:57:28 -0700 IronPort-SDR: hNEVnspu2BW0nLnRCfy0w7scLVWqIaNaTpZQLI2+CCm1+4JNNyT2fs93QruxUKqV/+EKJVEuTK tNDICR8QrVdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,410,1580803200"; d="scan'208";a="273515137" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.183.86]) by orsmga002.jf.intel.com with ESMTP; 21 Apr 2020 05:57:27 -0700 From: Mei Jianwei To: dts@dpdk.org Cc: Mei Jianwei Date: Thu, 23 Apr 2020 00:02:24 +0800 Message-Id: <20200422160224.7904-1-jianweix.mei@intel.com> X-Mailer: git-send-email 2.18.2 Subject: [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" add NIC twinpond. Signed-off-by: Mei Jianwei --- tests/TestSuite_pmdrssreta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index 8227961..7f77ca9 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", "foxville"]): + elif (self.nic in ["niantic", "redrockcanyou", "atwood", "boulderrapid", "foxville", "twinpond"]): # compute the hash result of five tuple into the 7 LSBs value. hash_index = int(tmp_reta_line["RSS hash"], 16) % 128 else: @@ -260,7 +260,7 @@ class TestPmdrssreta(TestCase): self.dut.send_expect("quit", "# ", 30) def test_rss_key_size(self): - nic_rss_key_size = {"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} + nic_rss_key_size = {"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 supporte rss key on %s" % self.nic) dutPorts = self.dut.get_ports(self.nic) -- 2.18.2