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 16FC0A00C5; Thu, 11 Jun 2020 09:09:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 10AFE49E0; Thu, 11 Jun 2020 09:09:09 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 65AE537A2 for ; Thu, 11 Jun 2020 09:09:07 +0200 (CEST) IronPort-SDR: nv+bkiwZEoUtX8sg1HlrO+fadlvkZpc4KVlnwk3AZxRy209QMe9wioPM1cjJ3FKLEFbVqTeRYp xUE9LXB9N5CA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2020 00:09:07 -0700 IronPort-SDR: WEtcGoepOIk6HyyuZA93SupVfXEGWIIX7EBhZvzh1J6jBrBR6dFcQ/jC1BbKD3YS+6hebSH7Vy buCegJdvOtTA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,499,1583222400"; d="scan'208";a="380307730" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by fmsmga001.fm.intel.com with ESMTP; 11 Jun 2020 00:09:06 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: Haiyang Zhao Date: Thu, 11 Jun 2020 14:59:37 +0800 Message-Id: <1591858780-153380-3-git-send-email-haiyangx.zhao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com> References: <1591858780-153380-1-git-send-email-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 2/5] tests/vf_rss: update scripts to meet CVL 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 CVL support. Signed-off-by: Haiyang Zhao --- tests/TestSuite_vf_rss.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py index 0bde402..35d4ea2 100644 --- a/tests/TestSuite_vf_rss.py +++ b/tests/TestSuite_vf_rss.py @@ -207,7 +207,7 @@ class TestVfRss(TestCase): if self.kdriver == "fm10k": # compute the hash result of five tuple into the 7 LSBs value. hash_index = int(tmp_reta_line["RSS hash"], 16) % 128 - elif self.kdriver == 'i40e' or self.nic in ['sageville', 'sagepond']: + elif self.kdriver == 'i40e' or self.kdriver == 'ice' or self.nic in ['sageville', 'sagepond']: # compute the hash result of five tuple into the 7 LSBs value. hash_index = int(tmp_reta_line["RSS hash"], 16) % 64 else: @@ -234,7 +234,8 @@ class TestVfRss(TestCase): self.verify( self.nic in ["redrockcanyou", "atwood", "boulderrapid", "fortville_eagle", "fortville_spirit", - "fortville_spirit_single", "fortville_25g", "sageville", "sagepond", "fortpark_TLV","fortpark_BASE-T", "carlsville"], + "fortville_spirit_single", "fortville_25g", "sageville", "sagepond", "fortpark_TLV", + "fortpark_BASE-T", "carlsville", "columbiaville_25g", "columbiaville_100g"], "NIC Unsupported: " + str(self.nic)) self.dut_ports = self.dut.get_ports(self.nic) self.verify(len(self.dut_ports) >= 1, "Not enough ports available") @@ -363,7 +364,7 @@ class TestVfRss(TestCase): self.vm_dut_0.send_expect( "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ") self.vm_dut_0.send_expect("port config all rss %s" % rss_type, "testpmd> ") - elif self.kdriver == 'i40e' or self.nic in ['sageville', 'sagepond']: + elif self.kdriver == 'i40e' or self.kdriver == 'ice' or self.nic in ['sageville', 'sagepond']: if self.nic in ['sageville', 'sagepond'] and rss_type == 'sctp': self.logger.info('sageville and sagepond do not support rsstype sctp') continue -- 1.8.3.1