From patchwork Mon Dec 26 06:18:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Li, HongboX" X-Patchwork-Id: 121390 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 EAC3DA00C5; Mon, 26 Dec 2022 08:23:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E59DF41181; Mon, 26 Dec 2022 08:23:44 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 125AA40143 for ; Mon, 26 Dec 2022 08:23:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672039423; x=1703575423; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LsQ702tY+VtDCHg/Ik0g13e9ighI/CetfOS4kLTDO78=; b=HKnoT0pHqf9vu3gXZLw9D4UyTSXX5l0EjeGaM9ItOVAl/gcEnj2aPsqo HQ5BtY0c1z6JxTPDwGO+g1RhrI3FekHxJaxjrx8VqipGZJS6+zE/dlbKC LuNPy0ByJcnon9AY5cKveB0NmSEvo5J9zYq131YX0Nw4ykG3ADvRRrRkb t+Cf9QTJJzdefac0Frck3LLbuEAvP494fcYn7tC01TNU76ouW2uRpddg9 SLGERsfZ2kMSeAVO40p0CQI3mgsm6+OtgII2pLM8OPiUyQWWGbPr6UXT/ B9nnpSLdNbdgp4wTNyD36p5tCVvyXyv6mrYED8RUO2MWl0vgLUN/Lth6u g==; X-IronPort-AV: E=McAfee;i="6500,9779,10571"; a="382830940" X-IronPort-AV: E=Sophos;i="5.96,274,1665471600"; d="scan'208";a="382830940" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Dec 2022 23:23:32 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10571"; a="630349959" X-IronPort-AV: E=Sophos;i="5.96,274,1665471600"; d="scan'208";a="630349959" Received: from unknown (HELO localhost.localdomain) ([10.239.252.19]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Dec 2022 23:23:30 -0800 From: Hongbo Li To: dts@dpdk.org Cc: Hongbo Li Subject: [dts][PATCH V1 3/3] tests/*: enable ICE_25G-E823C_QSFP supported cases Date: Mon, 26 Dec 2022 06:18:23 +0000 Message-Id: <20221226061823.1005437-3-hongbox.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221226061823.1005437-1-hongbox.li@intel.com> References: <20221226061823.1005437-1-hongbox.li@intel.com> 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-E823C_QSFP supported cases Signed-off-by: Hongbo Li --- tests/TestSuite_ice_advanced_iavf_rss_gtpu.py | 2 +- tests/TestSuite_ice_dcf_acl_filter.py | 2 +- tests/TestSuite_ice_dcf_flow_priority.py | 2 +- tests/TestSuite_ice_dcf_switch_filter.py | 2 +- tests/TestSuite_ice_dcf_switch_filter_gtpu.py | 2 +- tests/TestSuite_ice_flow_priority.py | 2 +- tests/TestSuite_ice_iavf_rx_timestamp.py | 2 +- tests/TestSuite_ice_qinq.py | 2 +- tests/TestSuite_ice_rss_configure.py | 2 +- tests/TestSuite_ice_rx_timestamp.py | 2 +- tests/TestSuite_ice_switch_filter.py | 2 +- tests/TestSuite_ice_switch_filter_pppoe.py | 2 +- tests/TestSuite_ipgre.py | 1 + tests/TestSuite_nvgre.py | 6 +++--- tests/TestSuite_pmdrssreta.py | 1 + tests/TestSuite_runtime_vf_queue_number_kernel.py | 1 + tests/TestSuite_uni_pkt.py | 1 + tests/TestSuite_userspace_ethtool.py | 6 +++--- tests/TestSuite_vf_rss.py | 1 + tests/TestSuite_vxlan.py | 6 +++--- 20 files changed, 26 insertions(+), 21 deletions(-) diff --git a/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py b/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py index 9577fbfe..7131101e 100644 --- a/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py +++ b/tests/TestSuite_ice_advanced_iavf_rss_gtpu.py @@ -8457,7 +8457,7 @@ mac_ipv6_gtpc_symmetric_toeplitz = [mac_ipv6_gtpc_symmetric] class TestICEAdvancedIAVFRSSGTPU(TestCase): - supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"] + supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_QSFP"] @check_supported_nic(supported_nic) @skip_unsupported_pkg("os default") diff --git a/tests/TestSuite_ice_dcf_acl_filter.py b/tests/TestSuite_ice_dcf_acl_filter.py index 3fb0b163..9a25bcb2 100644 --- a/tests/TestSuite_ice_dcf_acl_filter.py +++ b/tests/TestSuite_ice_dcf_acl_filter.py @@ -878,7 +878,7 @@ class ICEDCFACLFilterTest(TestCase): """ self.verify( self.nic - in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], + in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"], "nic is not Intel® Ethernet 800 Series", ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_dcf_flow_priority.py b/tests/TestSuite_ice_dcf_flow_priority.py index d8ae2b4b..1eade630 100644 --- a/tests/TestSuite_ice_dcf_flow_priority.py +++ b/tests/TestSuite_ice_dcf_flow_priority.py @@ -1830,7 +1830,7 @@ tv_mac_vlan_pppoe_ipcp_pay = { class ICEDCFFlowPriorityTest(TestCase): - supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"] + supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_QSFP"] # enable dcf dcf_representor = True diff --git a/tests/TestSuite_ice_dcf_switch_filter.py b/tests/TestSuite_ice_dcf_switch_filter.py index 23f9800b..8f85def7 100644 --- a/tests/TestSuite_ice_dcf_switch_filter.py +++ b/tests/TestSuite_ice_dcf_switch_filter.py @@ -2036,7 +2036,7 @@ sv_mac_test_drop_action = [ class ICEDCFSwitchFilterTest(TestCase): - supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"] + supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_QSFP"] def bind_nics_driver(self, ports, driver=""): # modprobe vfio driver diff --git a/tests/TestSuite_ice_dcf_switch_filter_gtpu.py b/tests/TestSuite_ice_dcf_switch_filter_gtpu.py index 5e822ac3..dce2e357 100644 --- a/tests/TestSuite_ice_dcf_switch_filter_gtpu.py +++ b/tests/TestSuite_ice_dcf_switch_filter_gtpu.py @@ -3536,7 +3536,7 @@ sv_mac_ipv6_gtpu_ipv6_tcp = [sv_mac_ipv6_gtpu_ipv6_tcp_1, sv_mac_ipv6_gtpu_ipv6_ class ICEDCFSwitchFilterGTPUTest(TestCase): - supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"] + supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_QSFP"] @check_supported_nic(supported_nic) @skip_unsupported_pkg(["os default", "wireless"]) diff --git a/tests/TestSuite_ice_flow_priority.py b/tests/TestSuite_ice_flow_priority.py index 8f569ba3..896424e0 100644 --- a/tests/TestSuite_ice_flow_priority.py +++ b/tests/TestSuite_ice_flow_priority.py @@ -393,7 +393,7 @@ tv_mac_vlan_pppoe_ipcp_pay = { class ICEPFFlowPriorityTest(TestCase): - supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP"] + supported_nic = ["ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_QSFP"] @check_supported_nic(supported_nic) def set_up_all(self): diff --git a/tests/TestSuite_ice_iavf_rx_timestamp.py b/tests/TestSuite_ice_iavf_rx_timestamp.py index 56463215..061ccfaa 100644 --- a/tests/TestSuite_ice_iavf_rx_timestamp.py +++ b/tests/TestSuite_ice_iavf_rx_timestamp.py @@ -74,7 +74,7 @@ class IAVFTimestampConfigureTest(TestCase): Generic filter Prerequistites """ 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-E823C_QSFP"], "%s nic not support vf timestamp" % self.nic, ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_qinq.py b/tests/TestSuite_ice_qinq.py index 345477bf..ce8daed5 100644 --- a/tests/TestSuite_ice_qinq.py +++ b/tests/TestSuite_ice_qinq.py @@ -405,7 +405,7 @@ tvs_mac_l4_qinq_dcf_pipeline_mode = [tv_mac_qinq_ipv6_udp, tv_mac_qinq_ipv6_tcp] class TestICEQinq(TestCase): @check_supported_nic( - ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP"] + ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_QSFP"] ) def set_up_all(self): """ diff --git a/tests/TestSuite_ice_rss_configure.py b/tests/TestSuite_ice_rss_configure.py index c0f73c82..851a24a6 100644 --- a/tests/TestSuite_ice_rss_configure.py +++ b/tests/TestSuite_ice_rss_configure.py @@ -301,7 +301,7 @@ class RSSConfigureTest(TestCase): self.pf_pci = self.dut.ports_info[self.dut_ports[0]]["pci"] self.verify( self.nic - in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], + in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_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_rx_timestamp.py b/tests/TestSuite_ice_rx_timestamp.py index 9d86edb9..ee2b2b55 100644 --- a/tests/TestSuite_ice_rx_timestamp.py +++ b/tests/TestSuite_ice_rx_timestamp.py @@ -74,7 +74,7 @@ class TimestampConfigureTest(TestCase): Generic filter Prerequistites """ 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-E823C_QSFP"], "%s nic not support timestamp" % self.nic, ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_switch_filter.py b/tests/TestSuite_ice_switch_filter.py index 8bc64f9b..a2b4ad2b 100644 --- a/tests/TestSuite_ice_switch_filter.py +++ b/tests/TestSuite_ice_switch_filter.py @@ -4349,7 +4349,7 @@ class ICESwitchFilterTest(TestCase): """ self.verify( self.nic - in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP"], + in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E810_XXV_SFP","ICE_25G-E823C_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_ice_switch_filter_pppoe.py b/tests/TestSuite_ice_switch_filter_pppoe.py index d2853969..eda5a183 100644 --- a/tests/TestSuite_ice_switch_filter_pppoe.py +++ b/tests/TestSuite_ice_switch_filter_pppoe.py @@ -2918,7 +2918,7 @@ class ICESwitchFilterPPPOETest(TestCase): """ self.verify( self.nic - in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP"], + in ["ICE_25G-E810C_SFP", "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_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_ipgre.py b/tests/TestSuite_ipgre.py index ecd8e19c..14c57812 100644 --- a/tests/TestSuite_ipgre.py +++ b/tests/TestSuite_ipgre.py @@ -45,6 +45,7 @@ class TestIpgre(TestCase): "I40E_40G-QSFP_B", "I40E_25G-25G_SFP28", "I40E_10G-10G_BASE_T_BC", + "ICE_25G-E823C_QSFP", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "cavium_a063", diff --git a/tests/TestSuite_nvgre.py b/tests/TestSuite_nvgre.py index 6005b4eb..8a3185e1 100644 --- a/tests/TestSuite_nvgre.py +++ b/tests/TestSuite_nvgre.py @@ -386,7 +386,7 @@ class TestNvgre(TestCase): self.compile_switch = "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR" elif self.nic in ["IXGBE_10G-X550T", "IXGBE_10G-X550EM_X_10G_T"]: self.compile_switch = "CONFIG_RTE_IXGBE_INC_VECTOR" - elif self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + elif self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: print("Intel® Ethernet 800 Series support default none VECTOR") else: self.verify(False, "%s not support NVGRE case" % self.nic) @@ -723,7 +723,7 @@ class TestNvgre(TestCase): verify nvgre packet with ipv6 """ # packet type detect must used without VECTOR pmd - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: print("Intel® Ethernet 800 Series support default none VECTOR") src_vec_model = "n" @@ -815,7 +815,7 @@ class TestNvgre(TestCase): verify nvgre packet with ipv4 """ # packet type detect must used without VECTOR pmd - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: print("Intel® Ethernet 800 Series support default none VECTOR") src_vec_model = "n" diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index d765ebf0..bcc8496a 100644 --- a/tests/TestSuite_pmdrssreta.py +++ b/tests/TestSuite_pmdrssreta.py @@ -285,6 +285,7 @@ class TestPmdrssreta(TestCase): def test_rss_key_size(self): nic_rss_key_size = { "ICE_25G-E810C_SFP": 52, + "ICE_25G-E823C_QSFP":52, "ICE_100G-E810C_QSFP": 52, "I40E_10G-SFP_XL710": 52, "I40E_40G-QSFP_A": 52, diff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/TestSuite_runtime_vf_queue_number_kernel.py index 68639dfa..5b30acef 100644 --- a/tests/TestSuite_runtime_vf_queue_number_kernel.py +++ b/tests/TestSuite_runtime_vf_queue_number_kernel.py @@ -36,6 +36,7 @@ class TestRuntimeVfQueueNumberKernel(TestCase): "I40E_10G-10G_BASE_T_BC", "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", + "ICE_25G-E823C_QSFP" ], "Only supported by Intel® Ethernet 700 Series and Intel® Ethernet 800 Series", ) diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index b7950830..e883b84d 100644 --- a/tests/TestSuite_uni_pkt.py +++ b/tests/TestSuite_uni_pkt.py @@ -278,6 +278,7 @@ class TestUniPacket(TestCase): self.nic in [ "ICE_25G-E810C_SFP", + "ICE_25G-E823C_QSFP", "ICE_100G-E810C_QSFP", "IXGBE_10G-82599_SFP", "I40E_10G-SFP_XL710", diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index 9bef4587..4cc88cc9 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -579,7 +579,7 @@ class TestUserspaceEthtool(TestCase): mtu_threshold = 2026 offset = 4 # RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + ICE_VLAN_TAG_SIZE * 2 - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: offset = 8 for index in range(len(self.ports)): port = self.ports[index] @@ -590,7 +590,7 @@ class TestUserspaceEthtool(TestCase): self.tester.send_expect("ifconfig %s mtu 9000" % (intf), "# ") for mtu in mtus: # Intel® Ethernet 800 Series should stop port before set mtu - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: self.dut.send_expect("stop %s" % index, "EthApp>") # The mtu threshold is 2022,When it is greater than 2022, the open/stop port is required. if mtu > mtu_threshold: @@ -606,7 +606,7 @@ class TestUserspaceEthtool(TestCase): self.dut.send_expect("open %s" % index, "EthApp>") self.dut.send_expect("mtu %d %d" % (index, mtu), "EthApp>") - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: self.dut.send_expect("open %s" % index, "EthApp>") self.tester.is_interface_up(intf) diff --git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py index 058d53db..a6772baf 100644 --- a/tests/TestSuite_vf_rss.py +++ b/tests/TestSuite_vf_rss.py @@ -268,6 +268,7 @@ class TestVfRss(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "I40E_10G-10G_BASE_T_BC", + "ICE_25G-E823C_QSFP", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", ], diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index c69d7903..7467514f 100644 --- a/tests/TestSuite_vxlan.py +++ b/tests/TestSuite_vxlan.py @@ -276,7 +276,7 @@ class TestVxlan(TestCase): self.compile_switch = "CONFIG_RTE_LIBRTE_I40E_INC_VECTOR" elif self.nic in ["IXGBE_10G-X550T", "IXGBE_10G-X550EM_X_10G_T"]: self.compile_switch = "CONFIG_RTE_IXGBE_INC_VECTOR" - elif self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + elif self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: print("Intel® Ethernet 700 Series support default none VECTOR") else: self.verify(False, "%s not support this vxlan" % self.nic) @@ -679,7 +679,7 @@ class TestVxlan(TestCase): """ verify vxlan packet detection """ - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: print("Intel® Ethernet 700 Series support default none VECTOR") src_vec_model = "n" self.eal_para = self.dut.create_eal_parameters( @@ -718,7 +718,7 @@ class TestVxlan(TestCase): """ verify vxlan packet detection with ipv6 header """ - if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP"]: + if self.nic in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP","ICE_25G-E823C_QSFP"]: print("Intel® Ethernet 700 Series support default none VECTOR") src_vec_model = "n"