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 8CE9AA00C2; Mon, 30 May 2022 08:05:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8613940A89; Mon, 30 May 2022 08:05:09 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 9AC7140A82 for ; Mon, 30 May 2022 08:05:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653890708; x=1685426708; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=k1cVXcXqdkjU00RwAE9qhwtAV/YCHMJkQFstugMeoYk=; b=AWHm9Oo8lfVDfOpHtrsJYqP2mnrwBCtJWxaOK2af5N+avK8+MP/87Hln IaS+pDMh4gxxd6WnG8q/8YVKz1I05Qtfww3EAuGIqySYHQ7Y+K4sywJ7z aBhhO7mUewLCnZRkUcSy7/RnNPv+GLGBCA4aOkjEAAoGo0YPccYd3b6A+ 5zQ5Rr4VfHmD7Ix02MNWfLG74klR+9b3w9XGpo0eevSIZ4eu5EuRCPwm4 65x0aJ8vIgvZPS9/bWvZP9xC1vYXG7u5x74DOC7M6yMBFgx6q0fZ9RkTb S34Jc5RM8pqfahn9qtbtaA9AftfWSEMFuSBBMKzoIT2kioVQYzNfjsKO+ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10362"; a="337943558" X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="337943558" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2022 23:05:06 -0700 X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="575783690" Received: from unknown (HELO localhost.localdomain) ([10.239.251.99]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2022 23:05:04 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V3 1/2] tests/*: add ICE_25G-E810_XXV_SFP in support suit Date: Mon, 30 May 2022 01:31:41 -0400 Message-Id: <20220530053142.40199-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 9 support suits Signed-off-by: Lingli Chen --- v3: fix format issue. v2: add ICE_25G-E810_XXV_SFP support case. v1: add ICE_25G-E810_XXV_SFP in support suit tests/TestSuite_enable_package_download_in_ice_driver.py | 3 ++- tests/TestSuite_iavf_package_driver_error_handle.py | 3 ++- tests/TestSuite_ice_1pps_signal.py | 2 +- tests/TestSuite_ice_dcf_acl_filter.py | 3 ++- tests/TestSuite_ice_limit_value_test.py | 4 ++-- tests/TestSuite_ice_rss_configure.py | 3 ++- tests/TestSuite_ice_switch_filter.py | 3 ++- tests/TestSuite_ice_switch_filter_pppoe.py | 3 ++- tests/TestSuite_large_vf.py | 3 ++- 9 files changed, 17 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..05f3915f 100644 --- a/tests/TestSuite_enable_package_download_in_ice_driver.py +++ b/tests/TestSuite_enable_package_download_in_ice_driver.py @@ -13,7 +13,8 @@ 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..da4f1ea7 100644 --- a/tests/TestSuite_iavf_package_driver_error_handle.py +++ b/tests/TestSuite_iavf_package_driver_error_handle.py @@ -15,7 +15,8 @@ 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 5e8b6e24..b5c61ea8 100644 --- a/tests/TestSuite_ice_dcf_acl_filter.py +++ b/tests/TestSuite_ice_dcf_acl_filter.py @@ -877,7 +877,8 @@ 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..2a057da0 100644 --- a/tests/TestSuite_ice_rss_configure.py +++ b/tests/TestSuite_ice_rss_configure.py @@ -300,7 +300,8 @@ 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 43afc848..76bd630f 100644 --- a/tests/TestSuite_ice_switch_filter.py +++ b/tests/TestSuite_ice_switch_filter.py @@ -4264,7 +4264,8 @@ 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..c83195b3 100644 --- a/tests/TestSuite_ice_switch_filter_pppoe.py +++ b/tests/TestSuite_ice_switch_filter_pppoe.py @@ -2855,7 +2855,8 @@ 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..00991790 100644 --- a/tests/TestSuite_large_vf.py +++ b/tests/TestSuite_large_vf.py @@ -189,7 +189,8 @@ 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