From patchwork Fri May 27 08:16:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 111977 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ACFE4A055F; Fri, 27 May 2022 10:49:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C25540E5A; Fri, 27 May 2022 10:49:35 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 1B3E74003F for ; Fri, 27 May 2022 10:49:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653641373; x=1685177373; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=w6ksMPN/Es6D6UD9l7k/4E2SKXLyFXt3qhh1ULEIYRc=; b=PxRJ7xmCHDCOrbq7m/zx97G2SDdcOSOv9x1GHPLsQA7GoAGk977G8S+2 Y94bb/iZl/wSCy2zKRHeUIRacoDjLBON/7248S7cBcow43KwkKPd9KREL 4hvxVojX1xgcizOlM+s9sqC531aQWOhz8eJAEGPBcikL01WhJYcXmpHBP d09lsxzsBMhyMA5qjv1cUDq7DJnCGWAjP41ZrakGm67ytOtg2TMcn7LiF KCjNuuCWR4BuoojMjPSDEI3tW/SsLKgZyYm7SyL2TbWJ7+fBudrdScjsS 1RiaHQg6HURkDooaI+KPBjseGdX6qdnEP7Ih3ClMs2JO8ZzExJVDRT17q A==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="274430464" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="274430464" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2022 01:49:32 -0700 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="550108161" Received: from unknown (HELO localhost.localdomain) ([10.239.251.99]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2022 01:49:30 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V2 1/2] tests/*: add ICE_25G-E810_XXV_SFP support suit Date: Fri, 27 May 2022 04:16:28 -0400 Message-Id: <20220527081629.28176-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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") From patchwork Fri May 27 08:16:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 111978 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2CF5EA0560; Fri, 27 May 2022 10:49:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C20C842685; Fri, 27 May 2022 10:49:35 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 1F8C54003F for ; Fri, 27 May 2022 10:49:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653641374; x=1685177374; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=beMPhZDhtIQ6cO/10jblGXziz3HASmE19IkYvuXL6vs=; b=MjY79kTLEOMxYLpP+uLm+FfixlFv6CegDfAEt2NzyEYKA2bMBzrA21CF 7Wf6kC+lh26xWWzmLTXeDxdeUbJIBk9T9i5ZAd9bgYq7TaYhMgeLAt0Jt 44SlSJpEqR4ALNJ1Z9HjsoR7uGKWECz/DbMUB14hRMatrc5B7VN7nu4DG dnMTDouSgYNMeXXmXt6CuVqgqYVxtkAMjsoi2iueKTMQnftaPa3W7wAIs sDKBk6lixiXB2rr5zrN1LUH7ipZB0xdspvO5V9bzOL7TsbJJOx98ikbmj Rs2hNERxvCefudVYDfMuss1EDy36wDCet+8XbVjoXK65mwcarJbscdDAV A==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="274430469" X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="274430469" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2022 01:49:33 -0700 X-IronPort-AV: E=Sophos;i="5.91,254,1647327600"; d="scan'208";a="550108182" Received: from unknown (HELO localhost.localdomain) ([10.239.251.99]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2022 01:49:32 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V2 2/2] conf/*: add ICE_25G-E810_XXV_SFP NIC in case list Date: Fri, 27 May 2022 04:16:29 -0400 Message-Id: <20220527081629.28176-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220527081629.28176-1-linglix.chen@intel.com> References: <20220527081629.28176-1-linglix.chen@intel.com> 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 not support case:check_specific_package_loading, support case:download_the_package_successfully Signed-off-by: Lingli Chen --- V2: add ICE_25G-E810_XXV_SFP in not support case. V1: add ICE_25G-E810_XXV_SFP support case. conf/test_case_checklist.json | 1 + conf/test_case_supportlist.json | 1 + 2 files changed, 2 insertions(+) diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json index 2185fcaf..354dec44 100644 --- a/conf/test_case_checklist.json +++ b/conf/test_case_checklist.json @@ -1795,6 +1795,7 @@ ], "NIC": [ "ICE_100G-E810C_QSFP", + "ICE_25G-E810_XXV_SFP", "ICE_25G-E810C_SFP" ], "Target": [ diff --git a/conf/test_case_supportlist.json b/conf/test_case_supportlist.json index 08f4840c..b23561a9 100644 --- a/conf/test_case_supportlist.json +++ b/conf/test_case_supportlist.json @@ -1643,6 +1643,7 @@ ], "NIC": [ "ICE_100G-E810C_QSFP", + "ICE_25G-E810_XXV_SFP", "ICE_25G-E810C_SFP" ], "Target": [