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 8EF4BA0471 for ; Mon, 12 Aug 2019 09:36:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5410F1252; Mon, 12 Aug 2019 09:36:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 527F42C5 for ; Mon, 12 Aug 2019 09:36:57 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7C7YY6w024633 for ; Mon, 12 Aug 2019 00:36:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0818; bh=1mtJoceiinVAMahMHEFQEarGg3sP2MpCrwgxLagooQg=; b=LwnHb/t8rBb74lR5Oqdu3ZMYnFkYpO/tAtZt07T8kC/k45L+Me543Nhf6+Zce4sH2hdf OxvmGutjq7OsDexHF5MFesd2QjQmKrJ3uWaM8yBH/bLm7LoY54++eJcsmDpZiM/eBotH DOLiulY/iX0w3sox7OURPnpikmupBgharsMlGxA1NJaast0nc+kMoGU8Eq38blTg/rPw UlbsiFA/6pO8OTo62M24dDSR3JkMCCOyqhKJGLgk193bqYt0OrOsf68ceXfThU+zEgwL xXaFFIgo5LzjqHs9qo+eAzyXLyI7DR2Fs2pjclG8LlmhQ6YoaaLKVhOJ4RqfvbkqTr7w ZQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2u9wem51s9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 12 Aug 2019 00:36:56 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 12 Aug 2019 00:36:54 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Mon, 12 Aug 2019 00:36:54 -0700 Received: from localhost.marvell.com (unknown [10.28.10.195]) by maili.marvell.com (Postfix) with ESMTP id F18AF3F703F; Mon, 12 Aug 2019 00:36:52 -0700 (PDT) From: To: CC: , , Praneeth Reddy Date: Mon, 12 Aug 2019 13:06:49 +0530 Message-ID: <1565595409-5768-1-git-send-email-nareddy@marvell.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-12_04:2019-08-09,2019-08-12 signatures=0 Subject: [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" From: Praneeth Reddy Required rss key size for cavium_a064 is 48 Signed-off-by: Praneeth Reddy --- 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..fd1c181 100644 --- a/tests/TestSuite_pmdrssreta.py +++ b/tests/TestSuite_pmdrssreta.py @@ -149,7 +149,7 @@ class TestPmdrssreta(TestCase): i = 0 for tmp_reta_line in reta_lines: status = "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 = 0 index_tmp = tmp_reta_line["RSS hash"].strip("0x") @@ -233,7 +233,7 @@ class TestPmdrssreta(TestCase): self.verify("error" not in out, "Configuration of RSS hash failed: Invalid argument") # 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) 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, "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 rss key on %s" % self.nic) dutPorts = self.dut.get_ports(self.nic) -- 1.8.3.1