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 6AD5142D88; Thu, 29 Jun 2023 08:38:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6670B427EE; Thu, 29 Jun 2023 08:38:41 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id EE47F406B7 for ; Thu, 29 Jun 2023 08:38:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688020719; x=1719556719; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PDTp1t6TWaDO5gYJJeU5v6iY3itvAfIhngUnfF66Mc0=; b=bz9Bo++Pw0B8d3GDuE2QTRawkhcqYuVPRulBBPO4HpZOfIGgKO625Ed9 2H6jTZFwjrRNxXfsE3k+FX26zyRZRLbD7VVB+dG5wVpLQ6o6X7vWPfs0G A2cxFPnomziamRuQOF9HMFtqYUImaRVispARDtSH/RS2WsZVYNbHSS+mo ycGl4vGKECgKe6BNoxienKNQCQrLLJkkKBr8GspKJwEtGpiGXPvHm6YE9 hu75zENnFTomZx9EUeU0tSOqr7tqbnuTxgjWMhSjqjgnqkxb6Unl7BwGu Lk7Xc03GCFXig76oPYY9VNfmHBedLHAXTMBTWXxYiKwWeYU6Gj2xdFEIL Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="362075388" X-IronPort-AV: E=Sophos;i="6.01,167,1684825200"; d="scan'208";a="362075388" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 23:38:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10755"; a="807205206" X-IronPort-AV: E=Sophos;i="6.01,167,1684825200"; d="scan'208";a="807205206" Received: from unknown (HELO dpdk.sh.intel.com) ([10.239.252.241]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jun 2023 23:38:37 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V1 3/3] tests/*: add ICE_25G-E810_XXV_SFP in support suite Date: Thu, 29 Jun 2023 22:54:56 +0800 Message-Id: <20230629145456.90228-4-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230629145456.90228-1-songx.jiale@intel.com> References: <20230629145456.90228-1-songx.jiale@intel.com> 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 modify test suite to support ICE_25G-E810_XXV_SFP NIC. Signed-off-by: Jiale Song --- tests/TestSuite_eeprom_dump.py | 1 + tests/TestSuite_generic_flow_api.py | 23 +++++++++++++++++++++++ tests/TestSuite_ice_buffer_split.py | 7 ++++++- tests/TestSuite_ice_rx_timestamp.py | 7 ++++++- tests/TestSuite_link_status_interrupt.py | 1 + tests/TestSuite_pmdrssreta.py | 1 + tests/TestSuite_rxtx_offload.py | 4 ++++ tests/TestSuite_scatter.py | 1 + tests/TestSuite_uni_pkt.py | 1 + tests/TestSuite_userspace_ethtool.py | 4 ++++ tests/TestSuite_vxlan.py | 1 + 11 files changed, 49 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_eeprom_dump.py b/tests/TestSuite_eeprom_dump.py index ae7d3c89..27fc7103 100644 --- a/tests/TestSuite_eeprom_dump.py +++ b/tests/TestSuite_eeprom_dump.py @@ -50,6 +50,7 @@ class TestEepromDump(TestCase): "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ]: if testname == "eeprom": count = 1000 diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py index 891652c1..47eb9a66 100644 --- a/tests/TestSuite_generic_flow_api.py +++ b/tests/TestSuite_generic_flow_api.py @@ -1089,6 +1089,7 @@ class TestGenericFlowApi(TestCase): "I40E_10G-10G_BASE_T_X722", "I40E_10G-SFP_X722", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1113,6 +1114,7 @@ class TestGenericFlowApi(TestCase): "I40E_10G-10G_BASE_T_X722", "I40E_10G-SFP_X722", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ]: @@ -1190,6 +1192,7 @@ class TestGenericFlowApi(TestCase): in [ "IXGBE_10G-82599_SFP", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "IGB_1G-82576_QUAD_COPPER_ET2", "IGB_1G-82576_QUAD_COPPER", @@ -1207,6 +1210,7 @@ class TestGenericFlowApi(TestCase): "IGC-I225_LM", "IGC-I226_LM", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1232,6 +1236,7 @@ class TestGenericFlowApi(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ]: @@ -1328,6 +1333,7 @@ class TestGenericFlowApi(TestCase): "IGC-I225_LM", "IGC-I226_LM", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1397,6 +1403,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1530,6 +1537,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1665,6 +1673,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1800,6 +1809,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -1945,6 +1955,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -2281,6 +2292,7 @@ class TestGenericFlowApi(TestCase): "IGC-I225_LM", "IGC-I226_LM", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -2605,6 +2617,7 @@ class TestGenericFlowApi(TestCase): in [ "IXGBE_10G-82599_SFP", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "IXGBE_10G-X550EM_X_10G_T", @@ -2627,6 +2640,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_40G-QSFP_A", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "I40E_40G-QSFP_B", @@ -3247,6 +3261,7 @@ class TestGenericFlowApi(TestCase): "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "I40E_10G-SFP_X710", @@ -3267,6 +3282,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_40G-QSFP_A", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "I40E_40G-QSFP_B", @@ -4150,6 +4166,7 @@ class TestGenericFlowApi(TestCase): "IGC-I225_LM", "IGC-I226_LM", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -4165,6 +4182,7 @@ class TestGenericFlowApi(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ]: @@ -4746,6 +4764,7 @@ class TestGenericFlowApi(TestCase): "I40E_10G-10G_BASE_T_X722", "I40E_10G-SFP_X722", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ], @@ -4771,6 +4790,7 @@ class TestGenericFlowApi(TestCase): "I40E_10G-10G_BASE_T_X722", "I40E_10G-SFP_X722", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ]: @@ -4817,6 +4837,7 @@ class TestGenericFlowApi(TestCase): "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "IGC-I225_LM", @@ -5018,6 +5039,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_40G-QSFP_A", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "I40E_40G-QSFP_B", @@ -5285,6 +5307,7 @@ class TestGenericFlowApi(TestCase): "I40E_25G-25G_SFP28", "I40E_40G-QSFP_A", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", "I40E_40G-QSFP_B", diff --git a/tests/TestSuite_ice_buffer_split.py b/tests/TestSuite_ice_buffer_split.py index d8057cf1..0b646081 100644 --- a/tests/TestSuite_ice_buffer_split.py +++ b/tests/TestSuite_ice_buffer_split.py @@ -522,7 +522,12 @@ class TestICEBufferSplit(TestCase): """ self.verify( self.nic - in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP"], + in [ + "ICE_25G-E810C_SFP", + "ICE_100G-E810C_QSFP", + "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", + ], "%s nic not support timestamp" % self.nic, ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_ice_rx_timestamp.py b/tests/TestSuite_ice_rx_timestamp.py index ea106cda..b01325d1 100644 --- a/tests/TestSuite_ice_rx_timestamp.py +++ b/tests/TestSuite_ice_rx_timestamp.py @@ -75,7 +75,12 @@ class TestICERxTimestamp(TestCase): """ self.verify( self.nic - in ["ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP"], + in [ + "ICE_25G-E810C_SFP", + "ICE_100G-E810C_QSFP", + "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", + ], "%s nic not support timestamp" % self.nic, ) self.dut_ports = self.dut.get_ports(self.nic) diff --git a/tests/TestSuite_link_status_interrupt.py b/tests/TestSuite_link_status_interrupt.py index 9f9a3f24..bbffe676 100644 --- a/tests/TestSuite_link_status_interrupt.py +++ b/tests/TestSuite_link_status_interrupt.py @@ -40,6 +40,7 @@ class TestLinkStatusInterrupt(TestCase): if self.nic in [ "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", + "ICE_25G-E810_XXV_SFP", "I40E_10G-SFP_X710", "I40E_40G-QSFP_A", "I40E_40G-QSFP_B", diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index 503d87bc..cb3cec1a 100644 --- a/tests/TestSuite_pmdrssreta.py +++ b/tests/TestSuite_pmdrssreta.py @@ -293,6 +293,7 @@ class TestPmdRSSReta(TestCase): "ICE_25G-E810C_SFP": 52, "ICE_25G-E823C_QSFP": 52, "ICE_100G-E810C_QSFP": 52, + "ICE_25G-E810_XXV_SFP": 52, "I40E_10G-SFP_X710": 52, "I40E_40G-QSFP_A": 52, "I40E_40G-QSFP_B": 52, diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py index 7b4b9655..a34c6a17 100644 --- a/tests/TestSuite_rxtx_offload.py +++ b/tests/TestSuite_rxtx_offload.py @@ -607,6 +607,7 @@ class TestRxTxOffload(TestCase): "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ]: self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect( @@ -661,6 +662,7 @@ class TestRxTxOffload(TestCase): "I40E_10G-10G_BASE_T_BC", "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", ]: self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect( @@ -799,6 +801,7 @@ class TestRxTxOffload(TestCase): "I40E_10G-10G_BASE_T_BC", "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", ]: self.dut.send_expect("port stop 0", "testpmd> ") self.dut.send_expect( @@ -836,6 +839,7 @@ class TestRxTxOffload(TestCase): "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ], "%s nic not support rx offload setting by queue." % self.nic, ) diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py index 171829ef..50346fe7 100644 --- a/tests/TestSuite_scatter.py +++ b/tests/TestSuite_scatter.py @@ -56,6 +56,7 @@ class TestScatter(TestCase): "IXGBE_10G-X550EM_X_10G_T", "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", ]: diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index 72bfe6dd..b3100c7d 100644 --- a/tests/TestSuite_uni_pkt.py +++ b/tests/TestSuite_uni_pkt.py @@ -283,6 +283,7 @@ class TestUniPkt(TestCase): "ICE_25G-E810C_SFP", "ICE_25G-E823C_QSFP", "ICE_100G-E810C_QSFP", + "ICE_25G-E810_XXV_SFP", "IXGBE_10G-82599_SFP", "I40E_10G-SFP_X710", "I40E_40G-QSFP_A", diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index b62e732f..ad0ce641 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -545,6 +545,7 @@ class TestUserspaceEthtool(TestCase): # so skip this step of verify status if self.nic not in [ "ICE_25G-E810C_SFP", + "ICE_25G-E810_XXV_SFP", "IXGBE_10G-X550T", "ICE_100G-E810C_QSFP", ]: @@ -594,6 +595,7 @@ class TestUserspaceEthtool(TestCase): "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ]: offset = 8 for index in range(len(self.ports)): @@ -609,6 +611,7 @@ class TestUserspaceEthtool(TestCase): "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ]: 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. @@ -629,6 +632,7 @@ class TestUserspaceEthtool(TestCase): "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ]: self.dut.send_expect("open %s" % index, "EthApp>") diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index bfdf5b90..9989f515 100644 --- a/tests/TestSuite_vxlan.py +++ b/tests/TestSuite_vxlan.py @@ -280,6 +280,7 @@ class TestVxlan(TestCase): "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "ICE_25G-E823C_QSFP", + "ICE_25G-E810_XXV_SFP", ]: print("IntelĀ® Ethernet 700 Series support default none VECTOR") else: -- 2.25.1