From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 61F5C3237 for ; Thu, 4 Feb 2016 05:55:31 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 03 Feb 2016 20:55:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,393,1449561600"; d="scan'208";a="876622174" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 03 Feb 2016 20:55:15 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u144tAs5026019; Thu, 4 Feb 2016 12:55:10 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u144t8ev003222; Thu, 4 Feb 2016 12:55:10 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u144t8H2003218; Thu, 4 Feb 2016 12:55:08 +0800 From: Yong Liu To: dts@dpdk.org Date: Thu, 4 Feb 2016 12:55:07 +0800 Message-Id: <1454561707-3185-1-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH] tests pmdrss_hash: support fm10k family nic 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: , X-List-Received-Date: Thu, 04 Feb 2016 04:55:31 -0000 FM10k can't set hash function and only support simple hash function. Signed-off-by: Marvin Liu diff --git a/conf/dpdk_test_case_checklist.xls b/conf/dpdk_test_case_checklist.xls index 8b0f797b5af2d738c17a756b5c5181a971de7251..878a7a6134700a45770dc3f0b269f4d9cc8f7752 100644 GIT binary patch delta 908 zcmZ{hO>7cD6vzLwUs^<42r2kM0*!hiMkrNl6Xnh7!q4d<^^DofFa*o8*kk%@`Sbdmp#<+f$r zFX)fT*6GOu?)_n)RxxU3`C7Sn+)rvQ-8vJ^)?adO+OaW7A z;L}Cm&t<+?cy8_1R~gIl>ij)xX7;{6zFiu_ob4nct_@(L5IO21cf+|%FK4~IPPZWO{FN%tBJF86#J2rlBTB}P}1mA@^pL}PK>apW4?#U zz=_EWVKM^@Q8InXcZBd$0Tjl=**%_wjFaQO%SW~{9k@3rQ>58m~H_1Ta@dX!q*ola+x<~V7J zbcA%2bc{4j67?CHPmoTMgp(vGMbi1!gU-tGhV-SxH<$0Q7_UESxQ|l>V`2dQ0vo-w Ap8x;= delta 599 zcmZ`#O-mb56g}_FWJ;2;tr|5o1gy|Pi-?J~YBgre#@6Vdk5ocGqh%k{D>_lZ;`7BR;G z9L($s<%(`0zR`{^OlyY!KUv9m%9A}K%JIyLnqRx)cbR&#Y_^kQ2J4wE;K#A#-$-~P zTcQJHao5m_tP*H$Y=-F4Z1My`6!6uvcIx%jMZ*ExBMU95cgOB`bve*jYJGOZK9Y?- zLUiTnTGp)rax86rQrBwH%Jw`@kFiNu_^>cHw;bERLri>b=)`qL?w$AEWT^AFgI)7;4 z#qYMZlscK0U5T3Ox^dR%XACf2Fj2yU-BFR_ diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py index d87bb03..e753a17 100644 --- a/tests/TestSuite_pmdrss_hash.py +++ b/tests/TestSuite_pmdrss_hash.py @@ -417,14 +417,14 @@ class TestPmdrssHash(TestCase): """ self.verify(self.nic in ["fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "redrockcanyou", "atwood"], + "fortville_spirit_single", "redrockcanyou", "atwood", "boulderrapid"], "NIC Unsupported: " + str(self.nic)) global reta_num if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single"]: reta_num = 512 elif self.nic in ["niantic"]: reta_num = 128 - elif self.nic in ["redrockcanyou", "atwood"]: + elif self.nic in ["redrockcanyou", "atwood", "boulderrapid"]: reta_num = 128 else: self.verify(False, "NIC Unsupported:%s" % str(self.nic)) @@ -486,7 +486,7 @@ class TestPmdrssHash(TestCase): self.send_packet(itf, iptype) - self.dut.send_expect("quit", "# ", 30) + self.dut.send_expect("quit", "# ", 30) def test_toeplitz_symmetric(self): dutPorts = self.dut.get_ports(self.nic) @@ -541,7 +541,6 @@ class TestPmdrssHash(TestCase): self.dut.send_expect("quit", "# ", 30) def test_simple(self): - dutPorts = self.dut.get_ports(self.nic) localPort = self.tester.get_local_port(dutPorts[0]) itf = self.tester.get_interface(localPort) @@ -577,10 +576,9 @@ class TestPmdrssHash(TestCase): self.dut.send_expect("port stop all", "testpmd> ") # some nic not support change hash algorithm - if self.nic not in ["redrockcanyou"]: + if self.kdriver not in ["fm10k"]: self.dut.send_expect( "set_hash_global_config 0 simple_xor %s enable" % iptype, "testpmd> ") - # self.dut.send_expect("port config all rss ip", "testpmd> ") self.dut.send_expect("port start all", "testpmd> ") self.dut.send_expect( "port config all rss %s" % rsstype, "testpmd> ") -- 1.9.3