From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2ABE5A055F; Fri, 27 May 2022 07:49:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 201C840E50; Fri, 27 May 2022 07:49:09 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 0610C40E25 for ; Fri, 27 May 2022 07:49:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653630547; x=1685166547; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=w6ksMPN/Es6D6UD9l7k/4E2SKXLyFXt3qhh1ULEIYRc=; b=R20ISJoNyPS8VbXZt/42llkMCwks5XVN+9rdlPgy0vlKoZeDMhLWDfpz k8UMr3bNMgLSwjq3KErpT6GKItWOnMsRMFqF42aOk6kRQAzt3sSOSBA1U vmBgMrz+S/FqXE+UkpbaZx4zSIy3PoHwyylXcViUaS+TtVZh9zU6cqJYP YOFhFZZrZFSxxknJAkwHSBs4ui0OBj3fnV1I1WqhGVsFX92GljbM3PeO9 6DVYqv+3C5ncm/z2dX5kdVpXBshwre+2fnFf+8CGp+dvbqpi10iNiIxPZ zqJ1MgdtHye3SLe5efannBAdetpFSFmf4ddPBMsP11WyAlPvSA/1ikpgD Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="360774322" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="360774322" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 22:49:05 -0700 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="603666656" Received: from unknown (HELO localhost.localdomain) ([10.239.251.99]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2022 22:49:03 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Subject: [dts][PATCH V1 1/2] tests/*: add ICE_25G-E810_XXV_SFP support Date: Fri, 27 May 2022 01:16:00 -0400 Message-Id: <20220527051601.27592-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 add ICE_25G-E810_XXV_SFP in support suit Signed-off-by: Lingli Chen --- tests/TestSuite_enable_package_download_in_ice_driver.py | 2 +- tests/TestSuite_iavf_package_driver_error_handle.py | 2 +- tests/TestSuite_ice_1pps_signal.py | 2 +- tests/TestSuite_ice_dcf_acl_filter.py | 2 +- tests/TestSuite_ice_limit_value_test.py | 4 ++-- tests/TestSuite_ice_rss_configure.py | 2 +- tests/TestSuite_ice_switch_filter.py | 2 +- tests/TestSuite_ice_switch_filter_pppoe.py | 2 +- tests/TestSuite_large_vf.py | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/TestSuite_enable_package_download_in_ice_driver.py b/tests/TestSuite_enable_package_download_in_ice_driver.py index beda14a8..7417188e 100644 --- a/tests/TestSuite_enable_package_download_in_ice_driver.py +++ b/tests/TestSuite_enable_package_download_in_ice_driver.py @@ -13,7 +13,7 @@ from framework.test_case import TestCase class TestEnable_Package_Download_In_Ice_Driver(TestCase): def set_up_all(self): self.verify( - self.nic in ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP"], + self.nic in ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"], "NIC Unsupported: " + str(self.nic), ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_iavf_package_driver_error_handle.py b/tests/TestSuite_iavf_package_driver_error_handle.py index 37efa3e0..8a2c7859 100644 --- a/tests/TestSuite_iavf_package_driver_error_handle.py +++ b/tests/TestSuite_iavf_package_driver_error_handle.py @@ -15,7 +15,7 @@ from framework.test_case import TestCase class Testiavf_package_and_driver_check(TestCase): def set_up_all(self): self.verify( - self.nic in ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP"], + self.nic in ["ICE_100G-E810C_QSFP","ICE_25G-E810_XXV_SFP", "ICE_25G-E810C_SFP"], "NIC Unsupported: " + str(self.nic), ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_1pps_signal.py b/tests/TestSuite_ice_1pps_signal.py index feec0ef7..ef94d466 100644 --- a/tests/TestSuite_ice_1pps_signal.py +++ b/tests/TestSuite_ice_1pps_signal.py @@ -9,7 +9,7 @@ from framework.test_case import TestCase, check_supported_nic class TestICE1PPS(TestCase): - supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP"] + supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"] @check_supported_nic(supported_nic) def set_up_all(self): diff --git a/tests/TestSuite_ice_dcf_acl_filter.py b/tests/TestSuite_ice_dcf_acl_filter.py index 87aec71a..e433832f 100644 --- a/tests/TestSuite_ice_dcf_acl_filter.py +++ b/tests/TestSuite_ice_dcf_acl_filter.py @@ -896,7 +896,7 @@ class ICEDCFACLFilterTest(TestCase): Run at the start of each test suite. """ self.verify( - self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"], + self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], "nic is not Intel® Ethernet 800 Series", ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_limit_value_test.py b/tests/TestSuite_ice_limit_value_test.py index 6954e885..180c8c6d 100644 --- a/tests/TestSuite_ice_limit_value_test.py +++ b/tests/TestSuite_ice_limit_value_test.py @@ -660,7 +660,7 @@ class TestICELimitValue(TestCase): num = 4 if self.is_chapman: num = 8 - if self.nic in ["ICE_25G-E810C_SFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"]: num = 2 for i in range(num): for j in range(256): @@ -855,7 +855,7 @@ class TestICELimitValue(TestCase): count == num * 256, "failed to create %s fdir rules on pf." % (num * 256), ) - elif self.nic in ["ICE_25G-E810C_SFP"]: + elif self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"]: for i in range(58): for j in range(256): flows.write( diff --git a/tests/TestSuite_ice_rss_configure.py b/tests/TestSuite_ice_rss_configure.py index 28821269..d45ef213 100644 --- a/tests/TestSuite_ice_rss_configure.py +++ b/tests/TestSuite_ice_rss_configure.py @@ -300,7 +300,7 @@ class RSSConfigureTest(TestCase): self.pf_mac = self.dut.get_mac_address(0) self.pf_pci = self.dut.ports_info[self.dut_ports[0]]["pci"] self.verify( - self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"], + self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], "%s nic not support ethertype filter" % self.nic, ) self.rsspro = RssProcessing(self, self.pmdout, [self.__tx_iface], rxq=16) diff --git a/tests/TestSuite_ice_switch_filter.py b/tests/TestSuite_ice_switch_filter.py index c6dcd829..c5eee139 100644 --- a/tests/TestSuite_ice_switch_filter.py +++ b/tests/TestSuite_ice_switch_filter.py @@ -4246,7 +4246,7 @@ class ICESwitchFilterTest(TestCase): Run at the start of each test suite. """ self.verify( - self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"], + self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP"], "%s nic not support Intel® Ethernet 800 Series switch filter" % self.nic, ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_switch_filter_pppoe.py b/tests/TestSuite_ice_switch_filter_pppoe.py index 797029b3..bd50958c 100644 --- a/tests/TestSuite_ice_switch_filter_pppoe.py +++ b/tests/TestSuite_ice_switch_filter_pppoe.py @@ -2855,7 +2855,7 @@ class ICESwitchFilterPPPOETest(TestCase): Run at the start of each test suite. """ self.verify( - self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"], + self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], "%s nic not support Intel® Ethernet 800 Series switch filter" % self.nic, ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_large_vf.py b/tests/TestSuite_large_vf.py index 3dd1da74..5fda208e 100644 --- a/tests/TestSuite_large_vf.py +++ b/tests/TestSuite_large_vf.py @@ -189,7 +189,7 @@ class TestLargeVf(TestCase): # Based on h/w type, choose how many ports to use self.dut_ports = self.dut.get_ports(self.nic) self.verify( - self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"], + self.nic in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], "%s nic not support large vf" % self.nic, ) self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing") -- 2.17.1