From patchwork Fri Jun 24 06:35:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 113402 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 F24D4A0032; Fri, 24 Jun 2022 09:11:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAD5940A87; Fri, 24 Jun 2022 09:11:45 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 6997740A82 for ; Fri, 24 Jun 2022 09:11:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656054704; x=1687590704; h=from:to:cc:subject:date:message-id; bh=C/o/wW0HPC32KrdvIksRl+bC2uwyRuGB0ma15+3GwjU=; b=d/f1YFzCF8caOuhPyoksEWmmHjdSHzG2/QLrWgowEqr09Z1HqxnTepkY IlLri/N+kjxy1MDnryy/eC6Fn2FoDCMwdl794jOZ2hjccHuNlv2FDzhss 2aaPCjZfX8vqzAAmnFKGyy9CuO5Uz5BT95w8dXNDyLz5BqdRhUBjiMDK9 UI/jiDDwJpi/730QW8hhZ0UT56tt+bZQX6xtqlZyqfeksT5ODSrH4Ro4E kyPIvQnN6203tX87XzRZ5E5fQ4Z83aHgqj0UMDHMKQzGVKmfnIFL8P0Uu KrhY4Lnbr7+z6EvicaQr4dnLCzyGVVr/82tKDB2vSuK7rC5unUvOy8w5J A==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="367260439" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="367260439" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:11:42 -0700 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="645146429" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:11:40 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V2 1/3] framework: add NIC IGC-I226_LM identifiers Date: Fri, 24 Jun 2022 02:35:53 -0400 Message-Id: <20220624063555.5442-1-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 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 new igc NIC IGC-I226_LM Signed-off-by: Lingli Chen --- framework/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/settings.py b/framework/settings.py index 78b1250c..2e7bcfa5 100644 --- a/framework/settings.py +++ b/framework/settings.py @@ -83,6 +83,7 @@ NICS = { "I40E_10G-10G_BASE_T_BC": "8086:15ff", "hi1822": "19e5:1822", "IGC-I225_LM": "8086:15f2", + "IGC-I226_LM": "8086:125b", "brcm_57414": "14e4:16d7", "brcm_P2100G": "14e4:1750", } @@ -162,6 +163,7 @@ DRIVERS = { "I40E_10G-10G_BASE_T_BC": "i40e", "hi1822": "hinic", "IGC-I225_LM": "igc", + "IGC-I226_LM": "igc", "brcm_57414": "bnxt_en", "brcm_P2100G": "bnxt_en", } From patchwork Fri Jun 24 06:35:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 113403 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 2F8E0A0032; Fri, 24 Jun 2022 09:12:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28206415D7; Fri, 24 Jun 2022 09:12:12 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 31C3040A82 for ; Fri, 24 Jun 2022 09:12:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656054730; x=1687590730; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=39GPs72loXDfa6Qgdkh3M3uWBhnrc++yczUWt7shZu4=; b=YjRXSRwQVoMrMHydADwGZMq6cALqi40gD0pObnZ/jF5lvRGxApZuFx+A vQoa0FC+Zwr4SZD57NWR5c3rBmSIQxCLE8NOGOM5lQF7iMr3L5SDKKIZO CgpcPWndu5ffKxYHAE/tErwVzBuzSvM0s42FQO2e+AVOwPM5ZUyRIi9ck NambPAV3A6nLOVe5XyDonA4eLTwih+C1KIGn3ZIRxIyVIcYK1aGmkhZQR k5XXGhYP1RXH95r4QyFddMremwaYh4hiLC1TN7wZdae6Ezp1+dfBt9IMw y6g1uugpQxU6LS+fy5lK/yq34sx7tOBxsHld2gBPMFvpM6aQl7+2kCz1o A==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="367260440" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="367260440" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:11:43 -0700 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="645146437" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:11:42 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V2 2/3] conf/test_case_*: add NIC IGC-I226_LM in support cases Date: Fri, 24 Jun 2022 02:35:54 -0400 Message-Id: <20220624063555.5442-2-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220624063555.5442-1-linglix.chen@intel.com> References: <20220624063555.5442-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 1. add NIC IGC-I226_LM in support cases 2. remove IGC-I225_LM in checklist for 4 igc support cases: ethertype_filter, syn_filter, link_stats, hash_readwrite_perf Signed-off-by: Lingli Chen --- conf/test_case_checklist.json | 53 +++++++++++++++++++-------------- conf/test_case_supportlist.json | 23 ++++++++++---- 2 files changed, 47 insertions(+), 29 deletions(-) diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.json index 284a3f65..5d166cb2 100644 --- a/conf/test_case_checklist.json +++ b/conf/test_case_checklist.json @@ -24,6 +24,7 @@ "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "I40E_10G-10G_BASE_T_BC", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -44,8 +45,7 @@ "IXGBE_10G-82599_SFP_SF_QP", "cavium_a034", "cavium_a011", - "IXGBE_10G-X540T", - "IGC-I225_LM" + "IXGBE_10G-X540T" ], "Target": [ "ALL" @@ -162,6 +162,7 @@ "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -241,8 +242,7 @@ "cavium_a011", "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", - "I40E_10G-10G_BASE_T_BC", - "IGC-I225_LM" + "I40E_10G-10G_BASE_T_BC" ], "Target": [ "ALL" @@ -288,6 +288,7 @@ "I40E_40G-QSFP_A", "I40E_40G-QSFP_B", "IGC-I225_LM", + "IGC-I226_LM", "IGB_1G-I350_COPPER", "IGB_1G-82576_QUAD_COPPER_ET2", "IGB_1G-I210_COPPER", @@ -323,6 +324,7 @@ "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "IGB_1G-I210_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -364,8 +366,7 @@ "IXGBE_10G-82599_T3_LOM", "cavium_a034", "cavium_0011", - "cavium_a064", - "IGC-I225_LM" + "cavium_a064" ], "Target": [ "ALL" @@ -422,6 +423,7 @@ "cavium_0011", "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -461,6 +463,7 @@ "cavium_0011", "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -500,6 +503,7 @@ "cavium_0011", "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -537,6 +541,7 @@ "IGB_1G-I210_COPPER", "cavium_a034", "cavium_0011", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -557,6 +562,7 @@ "IGB_1G-I210_COPPER", "cavium_a034", "cavium_0011", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2108,6 +2114,7 @@ "I40E_10G-10G_BASE_T_X722", "IAVF_10G-X722_VF", "I40E_10G-10G_BASE_T_BC", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2278,6 +2285,7 @@ "I40E_10G-10G_BASE_T_X722", "cavium_a064", "I40E_10G-10G_BASE_T_BC", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2408,6 +2416,7 @@ "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "I40E_10G-10G_BASE_T_BC", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2444,6 +2453,7 @@ "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "IGC-I225_LM", + "IGC-I226_LM", "IGB_1G-I210_COPPER" ], "Target": [ @@ -2509,6 +2519,7 @@ "NIC": [ "cavium_a063", "cavium_a064", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2613,6 +2624,7 @@ "NIC": [ "cavium_a063", "cavium_a064", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2863,6 +2875,7 @@ "IGB_1G-I210_COPPER", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2883,6 +2896,7 @@ "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-SFP_XL710", "I40E_40G-QSFP_A", "I40E_40G-QSFP_B", @@ -2912,22 +2926,7 @@ "Comments": "freebsd not support create vf" } ], - "hash_readwrite_perf": [ - { - "OS": [ - "ALL" - ], - "NIC": [ - "IGC-I225_LM" - ], - "Target": [ - "ALL" - ], - "Bug ID": "", - "Comments": "NIC not support this case" - } - ], - "ipv6_5tuple_hash_table": [ + "ipv6_5tuple_hash_table": [ { "OS": [ "ALL" @@ -3431,6 +3430,7 @@ "ALL" ], "NIC": [ + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3446,6 +3446,7 @@ "ALL" ], "NIC": [ + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3461,6 +3462,7 @@ "ALL" ], "NIC": [ + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3492,6 +3494,7 @@ ], "NIC": [ "IXGBE_10G-X550EM_X_10G_T", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3690,6 +3693,7 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3709,6 +3713,7 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3728,6 +3733,7 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -3737,7 +3743,7 @@ "Comments": "NIC not support this case" } ], -"dual_vlan": [ + "dual_vlan": [ { "OS": [ "ALL" @@ -3745,6 +3751,7 @@ "NIC": [ "IXGBE_10G-82599_SFP", "IGC-I225_LM", + "IGC-I226_LM", "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP" ], diff --git a/conf/test_case_supportlist.json b/conf/test_case_supportlist.json index b23561a9..55d9579e 100644 --- a/conf/test_case_supportlist.json +++ b/conf/test_case_supportlist.json @@ -186,6 +186,7 @@ "I40E_10G-10G_BASE_T_BC", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -695,6 +696,7 @@ "IXGBE_10G-X540T", "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -764,6 +766,7 @@ "ICE_100G-E810C_QSFP", "ICE_25G-E810C_SFP", "I40E_40G-QSFP_A", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -892,6 +895,7 @@ "I40E_40G-QSFP_B", "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", + "IGC-I226_LM", "IGC-I225_LM", "I40E_10G-10G_BASE_T_BC" ], @@ -961,6 +965,7 @@ "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "I40E_10G-10G_BASE_T_BC", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ @@ -2089,13 +2094,14 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ "ALL" ], "Bug ID": "", - "Comments": "This case only support ixgbe and igb nic " + "Comments": "This case only support ixgbe igc and igb nic " } ], "disable_enable_rss_ixgbe_igb": [ @@ -2132,13 +2138,14 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ "ALL" ], "Bug ID": "", - "Comments": "This case only support ixgbe and igb nic " + "Comments": "This case only support ixgbe igc and igb nic " } ], "different_types_ixgbe_igb": [ @@ -2154,13 +2161,14 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ "ALL" ], "Bug ID": "", - "Comments": "This case only support ixgbe and igb nic " + "Comments": "This case only support ixgbe igc and igb nic " } ], "enable_ipv4_udp_rss_ixgbe_igb": [ @@ -2176,13 +2184,14 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ "ALL" ], "Bug ID": "", - "Comments": "This case only support ixgbe and igb nic " + "Comments": "This case only support ixgbe igc and igb nic " } ], "flow_director_rss_rule_combination_ixgbe_igb": [ @@ -2198,13 +2207,14 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ "ALL" ], "Bug ID": "", - "Comments": "This case only support ixgbe and igb nic " + "Comments": "This case only support ixgbe igc and igb nic " } ], "multicast_filter": [ @@ -2220,13 +2230,14 @@ "IXGBE_10G-X550EM_X_10G_T", "IGB_1G-I210_COPPER", "IGB_1G-I350_COPPER", + "IGC-I226_LM", "IGC-I225_LM" ], "Target": [ "ALL" ], "Bug ID": "", - "Comments": "This case only support ixgbe and igb nic,The feature corresponding task ticket is DPDK-7884." + "Comments": "This case only support ixgbe, igc and igb nic,The feature corresponding task ticket is DPDK-7884." } ], "hardware_checksum_check_l4_rx": [ From patchwork Fri Jun 24 06:35:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 113404 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 5150DA0093; Fri, 24 Jun 2022 09:12:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C9A9427EE; Fri, 24 Jun 2022 09:12:13 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 59E0E40A82 for ; Fri, 24 Jun 2022 09:12:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656054731; x=1687590731; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qvBreifAuEgrG4F6Z/tWeuKJDKMwlKg32ofl9YVxW2M=; b=ivPxS6hRKLjlpF2+w8s5Mo5gE2gSuMadQsoSliqoNv9GpXgsJoD06FuK TdpTsNkNSOuFPgA62BoecjUxofEK6Hlz0H5C1LWwqH/9suT/agaQQ7jRY xat8JydJvrN1NwNeYdBI7hn//ejmZh5aI8GqWiswdLed9XJY20DadiJsO r4i3swfNjKp0bRlvdVZI2iEgaN61QyY6rWMbGq6gpO9hI3oejjy066ugQ YSKO7GmTJXdP9Q+smHHzGvuqWu6ZNrnBTon5jVRLd78rFEgt+fc0hqh59 lflicpaxz9BnT/LNyK+OTHKpbR4VIGdEv911BZEd1Uy5d9TlWisyniIwr A==; X-IronPort-AV: E=McAfee;i="6400,9594,10387"; a="367260446" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="367260446" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:11:45 -0700 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="645146447" Received: from unknown (HELO localhost.localdomain) ([10.239.252.99]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 00:11:43 -0700 From: Lingli Chen To: dts@dpdk.org Cc: zhiminx.huang@intel.com, Lingli Chen Subject: [dts][PATCH V2 3/3] tests/*: add NIC IGC-I226_LM in support suites Date: Fri, 24 Jun 2022 02:35:55 -0400 Message-Id: <20220624063555.5442-3-linglix.chen@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220624063555.5442-1-linglix.chen@intel.com> References: <20220624063555.5442-1-linglix.chen@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 NIC IGC-I226_LM in 12 support suites Signed-off-by: Lingli Chen --- V2: fix format issue V1: add NIC IGC-I226_LM in support cases test_plans/shutdown_api_test_plan.rst | 2 +- tests/TestSuite_generic_flow_api.py | 38 ++++++++++++++++++++---- tests/TestSuite_jumboframes.py | 1 + tests/TestSuite_mtu_update.py | 8 ++++- tests/TestSuite_pmdrss_hash.py | 1 + tests/TestSuite_pmdrssreta.py | 12 ++++++-- tests/TestSuite_qinq_filter.py | 1 + tests/TestSuite_rss_to_rte_flow.py | 31 +++++++++---------- tests/TestSuite_rxtx_offload.py | 4 ++- tests/TestSuite_shutdown_api.py | 11 ++++--- tests/TestSuite_uni_pkt.py | 3 ++ tests/TestSuite_userspace_ethtool.py | 8 ++++- tests/TestSuite_vlan_ethertype_config.py | 8 ++--- 13 files changed, 93 insertions(+), 35 deletions(-) diff --git a/test_plans/shutdown_api_test_plan.rst b/test_plans/shutdown_api_test_plan.rst index ff1b17f6..56f3f58a 100644 --- a/test_plans/shutdown_api_test_plan.rst +++ b/test_plans/shutdown_api_test_plan.rst @@ -241,7 +241,7 @@ Test Case 12: Change thresholds 4. Run ``port config all rxfreet 32`` to change the rx descriptors. 5. Run ``port config all txpt 64`` to change the tx descriptors. 6. Run ``port config all txht 64`` to change the tx descriptors. -7. If NIC is IGC-I225_LM, Run ``port config all txwt 16`` to change the tx descriptors. +7. If NIC is IGC driver, Run ``port config all txwt 16`` to change the tx descriptors. Else, Run ``port config all txwt 0`` to change the tx descriptors. 8. Run ``port start all`` to restart all ports. 9. Check with ``show config rxtx`` that the descriptors were actually changed. diff --git a/tests/TestSuite_generic_flow_api.py b/tests/TestSuite_generic_flow_api.py index 0e414bbf..73689a0e 100644 --- a/tests/TestSuite_generic_flow_api.py +++ b/tests/TestSuite_generic_flow_api.py @@ -56,7 +56,7 @@ class TestGeneric_flow_api(TestCase): "IGB_1G-82576_QUAD_COPPER_ET2", ]: MAX_QUEUE = 7 - elif self.nic in ["IGC-I225_LM"]: + elif self.nic in ["IGC-I225_LM", "IGC-I226_LM"]: MAX_QUEUE = 3 # Based on h/w type, choose how many ports to use self.dut_ports = self.dut.get_ports(self.nic) @@ -921,6 +921,7 @@ class TestGeneric_flow_api(TestCase): "IXGBE_10G-X550T", "IGB_1G-I350_COPPER", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support SYN filter" % self.nic, ) @@ -965,7 +966,7 @@ class TestGeneric_flow_api(TestCase): self.dut.send_expect("flow destroy 0 rule 0", "testpmd> ", 120) # validate and create the flow rules - q_idx = "2" if self.nic == "IGC-I225_LM" else "4" + q_idx = "2" if self.nic in ["IGC-I225_LM", "IGC-I226_LM"] else "4" self.dut.send_expect( "flow validate 0 ingress pattern eth / ipv6 / tcp flags spec 0x02 flags mask 0x02 / end actions queue index %s / end" % (q_idx), @@ -1007,6 +1008,7 @@ class TestGeneric_flow_api(TestCase): "IGB_1G-82576_QUAD_COPPER_ET2", "IGB_1G-82576_QUAD_COPPER", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support n-tuple filter" % self.nic, ) @@ -1111,6 +1113,7 @@ class TestGeneric_flow_api(TestCase): "IGB_1G-82580_COPPER", "IGB_1G-I350_COPPER", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-SFP_XL710", "I40E_25G-25G_SFP28", "I40E_40G-QSFP_A", @@ -1227,6 +1230,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", ], @@ -1345,6 +1349,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", ], @@ -2049,6 +2054,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", ], @@ -2383,6 +2389,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support fdir ipv4 filter" % self.nic, ) @@ -2397,6 +2404,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-10G_BASE_T_BC", ]: self.setup_env() @@ -2807,6 +2815,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support fdir ipv6 filter" % self.nic, ) @@ -3447,6 +3456,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", ], @@ -3829,7 +3839,13 @@ class TestGeneric_flow_api(TestCase): The filter structure is different between igb, ixgbe and i40e """ self.verify( - self.nic in ["IGB_1G-82580_COPPER", "IGB_1G-I350_COPPER", "IGC-I225_LM"], + self.nic + in [ + "IGB_1G-82580_COPPER", + "IGB_1G-I350_COPPER", + "IGC-I225_LM", + "IGC-I226_LM", + ], "%s nic not support flexbytes filter" % self.nic, ) @@ -4044,6 +4060,7 @@ class TestGeneric_flow_api(TestCase): "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-SFP_XL710", "I40E_25G-25G_SFP28", "I40E_40G-QSFP_A", @@ -4118,6 +4135,7 @@ class TestGeneric_flow_api(TestCase): "ICE_25G-E810C_SFP", "ICE_100G-E810C_QSFP", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support fdir vxlan filter" % self.nic, ) @@ -4164,7 +4182,13 @@ class TestGeneric_flow_api(TestCase): only supported by ixgbe """ self.verify( - self.nic in ["IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "IGC-I225_LM"], + self.nic + in [ + "IXGBE_10G-X550EM_X_10G_T", + "IXGBE_10G-X550T", + "IGC-I225_LM", + "IGC-I226_LM", + ], "%s nic not support fdir nvgre filter" % self.nic, ) @@ -4221,6 +4245,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-10G_BASE_T_BC", ], "%s nic not support tunnel vxlan filter" % self.nic, @@ -4392,6 +4417,7 @@ class TestGeneric_flow_api(TestCase): "I40E_10G-SFP_X722", "I40E_10G-10G_BASE_T_X722", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-10G_BASE_T_BC", ], "%s nic not support tunnel nvgre filter" % self.nic, @@ -4717,6 +4743,7 @@ class TestGeneric_flow_api(TestCase): "IGB_1G-82576_QUAD_COPPER_ET2", "IGB_1G-82576_QUAD_COPPER", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support n-tuple filter" % self.nic, ) @@ -4851,10 +4878,11 @@ class TestGeneric_flow_api(TestCase): "IXGBE_10G-X550T", "IGB_1G-I350_COPPER", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support" % self.nic, ) - if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM", "IGC-I226_LM"]: self.pmdout.start_testpmd( "%s" % self.cores, "--disable-rss --rxq=4 --txq=4 --portmask=%s --nb-cores=4 --nb-ports=1 --mbcache=200 --mbuf-size=2048 --max-pkt-len=9200" diff --git a/tests/TestSuite_jumboframes.py b/tests/TestSuite_jumboframes.py index 08963b72..fa2496a3 100644 --- a/tests/TestSuite_jumboframes.py +++ b/tests/TestSuite_jumboframes.py @@ -228,6 +228,7 @@ class TestJumboframes(TestCase): "IGB_1G-I210_COPPER", "IGB_1G-82576_QUAD_COPPER_ET2", "IGC-I225_LM", + "IGC-I226_LM", ]: self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 4 + 1, False) else: diff --git a/tests/TestSuite_mtu_update.py b/tests/TestSuite_mtu_update.py index 137abf58..4fc3c335 100644 --- a/tests/TestSuite_mtu_update.py +++ b/tests/TestSuite_mtu_update.py @@ -224,7 +224,13 @@ class TestMtuUpdate(TestCase): On 1G NICs, when the jubmo frame MTU set > 1500, the software adjust it to MTU+4. """ if ( - self.nic in ["IGB_1G-I350_COPPER", "IGB_1G-I210_COPPER", "IGC-I225_LM"] + self.nic + in [ + "IGB_1G-I350_COPPER", + "IGB_1G-I210_COPPER", + "IGC-I225_LM", + "IGC-I226_LM", + ] and packet_size > 1500 ): self.send_packet_of_size_to_tx_port(packet_size + 8 - 1, received=True) diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py index befb9bce..da9d143a 100644 --- a/tests/TestSuite_pmdrss_hash.py +++ b/tests/TestSuite_pmdrss_hash.py @@ -487,6 +487,7 @@ class TestPmdrssHash(TestCase): "ICE_100G-E810C_QSFP", "IXGBE_10G-82599_SFP", "IGC-I225_LM", + "IGC-I226_LM", ] ) def set_up_all(self): diff --git a/tests/TestSuite_pmdrssreta.py b/tests/TestSuite_pmdrssreta.py index c4bc1ee4..d765ebf0 100644 --- a/tests/TestSuite_pmdrssreta.py +++ b/tests/TestSuite_pmdrssreta.py @@ -150,7 +150,12 @@ class TestPmdrssreta(TestCase): hash_index = int(tmp_reta_line["RSS hash"], 16) % 64 elif self.nic in ["hi1822"]: hash_index = int(tmp_reta_line["RSS hash"], 16) % 256 - elif self.nic in ["IXGBE_10G-82599_SFP", "IGC-I225_LM", "IXGBE_10G-X540T"]: + elif self.nic in [ + "IXGBE_10G-82599_SFP", + "IGC-I226_LM", + "IGC-I225_LM", + "IXGBE_10G-X540T", + ]: # compute the hash result of five tuple into the 7 LSBs value. hash_index = int(tmp_reta_line["RSS hash"], 16) % 128 else: @@ -212,7 +217,7 @@ class TestPmdrssreta(TestCase): self.dut.kill_all() global testQueues - if self.nic == "IGC-I225_LM": + if self.nic in ["IGC-I225_LM", "IGC-I226_LM"]: testQueues = [2] # test with different rss queues for queue in testQueues: @@ -258,7 +263,7 @@ class TestPmdrssreta(TestCase): "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> ", ) - elif self.nic in ["IXGBE_10G-82599_SFP", "IGC-I225_LM"]: + elif self.nic in ["IXGBE_10G-82599_SFP", "IGC-I225_LM", "IGC-I226_LM"]: for i in range(128): reta_entries.insert(i, random.randint(0, queue - 1)) self.dut.send_expect( @@ -296,6 +301,7 @@ class TestPmdrssreta(TestCase): "IXGBE_10G-X550EM_X_10G_T": 40, "IXGBE_10G-X550T": 40, "IGC-I225_LM": 40, + "IGC-I226_LM": 40, "IXGBE_10G-X540T": 40, } self.verify( diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index bf4d9a4d..6b5b756c 100644 --- a/tests/TestSuite_qinq_filter.py +++ b/tests/TestSuite_qinq_filter.py @@ -33,6 +33,7 @@ class TestQinqFilter(TestCase): "I40E_40G-QSFP_B", "I40E_25G-25G_SFP28", "IGC-I225_LM", + "IGC-I226_LM", "I40E_10G-10G_BASE_T_BC", ], "NIC %s not support this test" % self.nic, diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py index 83055188..044f3755 100644 --- a/tests/TestSuite_rss_to_rte_flow.py +++ b/tests/TestSuite_rss_to_rte_flow.py @@ -1530,7 +1530,7 @@ class TestRSS_to_Rteflow(TestCase): ], "NIC Unsupported: " + str(self.nic), ) - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.pmdout.start_testpmd( "%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained" ) @@ -1544,7 +1544,7 @@ class TestRSS_to_Rteflow(TestCase): time.sleep(2) # Create a rss queue rule - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.dut.send_expect( "flow create 0 ingress pattern end actions rss queues 1 2 end / end", "created", @@ -1567,7 +1567,7 @@ class TestRSS_to_Rteflow(TestCase): "ipv6-tcp", "ipv6-sctp", ] - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.send_check_100_packet_queue(ptype_list1, ["1", "2"], port_id=0) else: self.send_check_100_packet_queue(ptype_list1, ["1", "4", "7"], port_id=0) @@ -1608,7 +1608,7 @@ class TestRSS_to_Rteflow(TestCase): "flow create 0 ingress pattern end actions rss queues 8 end / end", "error" ) # Set all the queues to the rule - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.dut.send_expect( "flow create 0 ingress pattern end actions rss queues 0 1 2 3 end / end", "created", @@ -1639,7 +1639,7 @@ class TestRSS_to_Rteflow(TestCase): ], "NIC Unsupported: " + str(self.nic), ) - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.pmdout.start_testpmd( "%s" % self.cores, "--rxq=4 --txq=4 --port-topology=chained" ) @@ -1653,7 +1653,7 @@ class TestRSS_to_Rteflow(TestCase): time.sleep(2) # Create a rss queue rule - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.dut.send_expect( "flow create 0 ingress pattern end actions rss types udp ipv4-tcp ipv6-sctp ipv4-other end queues 1 2 3 end / end", "created", @@ -1680,7 +1680,7 @@ class TestRSS_to_Rteflow(TestCase): # send the packets and verify the results if self.nic in ["cavium_a063", "cavium_a064"]: self.send_check_100_packet_queue(ptype_list1, ["1", "4", "7"], port_id=0) - elif self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + elif self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.send_check_100_packet_queue(ptype_list1, ["1", "2", "3"], port_id=0) self.send_check_100_packet_queue(ptype_list2, "0", port_id=0) else: @@ -1690,7 +1690,7 @@ class TestRSS_to_Rteflow(TestCase): # Create different ptype rss rule. self.dut.send_expect("flow flush 0", "testpmd> ") - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.dut.send_expect( "flow create 0 ingress pattern end actions rss types ipv4 ipv6 end queues 1 3 end / end", "created", @@ -1713,7 +1713,7 @@ class TestRSS_to_Rteflow(TestCase): "ipv6-tcp", "ipv6-sctp", ] - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.send_check_100_packet_queue(ptype_list3, ["1", "3"], port_id=0) else: self.send_check_100_packet_queue(ptype_list3, ["3", "7"], port_id=0) @@ -1737,7 +1737,7 @@ class TestRSS_to_Rteflow(TestCase): ], "NIC Unsupported: " + str(self.nic), ) - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.pmdout.start_testpmd( "%s" % self.cores, "--rxq=4 --txq=4 --disable-rss --port-topology=chained", @@ -1778,7 +1778,7 @@ class TestRSS_to_Rteflow(TestCase): self.send_check_100_packet_queue(ptype_list1, "0", port_id=0) # Create a rss queue rule - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.dut.send_expect( "flow create 0 ingress pattern end actions rss types ipv6-tcp ipv4-udp end queues 1 2 3 end / end", "created", @@ -1802,7 +1802,7 @@ class TestRSS_to_Rteflow(TestCase): "ipv6-udp", "ipv6-sctp", ] - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.send_check_100_packet_queue(ptype_list2, ["1", "2", "3"], port_id=0) else: self.send_check_100_packet_queue(ptype_list2, ["5", "6", "7"], port_id=0) @@ -1827,7 +1827,7 @@ class TestRSS_to_Rteflow(TestCase): ], "NIC Unsupported: " + str(self.nic), ) - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.pmdout.start_testpmd( "%s" % self.cores, "--rxq=4 --txq=4 --disable-rss --port-topology=chained", @@ -1842,7 +1842,7 @@ class TestRSS_to_Rteflow(TestCase): time.sleep(2) # Create a rss queue rule - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.dut.send_expect( "flow create 0 ingress pattern end actions rss types ipv4-udp end queues 2 3 end / end", "created", @@ -1861,6 +1861,7 @@ class TestRSS_to_Rteflow(TestCase): "IGB_1G-I350_COPPER", "IGB_1G-I210_COPPER", "IGC-I225_LM", + "IGC-I226_LM", ]: self.dut.send_expect( "flow create 0 ingress pattern eth / ipv4 proto is 17 / udp dst is 50 / end actions queue index 1 / end", @@ -1875,7 +1876,7 @@ class TestRSS_to_Rteflow(TestCase): self.send_and_check(self.pkt2, ["1"], port_id=0) # Delete the fdir rule self.dut.send_expect("flow destroy 0 rule 1", "testpmd> ") - if self.nic in ["IGC-I225_LM", "IGB_1G-I210_COPPER"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM", "IGB_1G-I210_COPPER"]: self.send_and_check(self.pkt2, ["2", "3"], port_id=0) else: self.send_and_check(self.pkt2, ["3", "4", "5"], port_id=0) diff --git a/tests/TestSuite_rxtx_offload.py b/tests/TestSuite_rxtx_offload.py index 3f56993e..c60bb68b 100644 --- a/tests/TestSuite_rxtx_offload.py +++ b/tests/TestSuite_rxtx_offload.py @@ -73,6 +73,7 @@ class TestRxTx_Offload(TestCase): "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "IGC-I225_LM", + "IGC-I226_LM", "cavium_a063", "cavium_a064", "ICE_25G-E810C_SFP", @@ -493,7 +494,7 @@ class TestRxTx_Offload(TestCase): capabilities = self.check_port_capability("rx") for capability in capabilities: if ( - self.nic in ["IGC-I225_LM", "cavium_a063", "cavium_a064"] + self.nic in ["IGC-I225_LM", "IGC-I226_LM", "cavium_a063", "cavium_a064"] and capability == "sctp_cksum" ): continue @@ -523,6 +524,7 @@ class TestRxTx_Offload(TestCase): "IXGBE_10G-X550EM_X_10G_T", "IXGBE_10G-X550T", "IGC-I225_LM", + "IGC-I226_LM", ], "%s nic not support rx offload setting by queue." % self.nic, ) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 245c49da..fc81c46a 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -823,7 +823,7 @@ class TestShutdownApi(TestCase): Change RX/TX thresholds DPDK-24129:1.Intel® Ethernet 700/800 Series not support tx and rx 2.Ixgbe not support rx, only support tx. - 3.IGC-I225_LM, IGB_1G-I350_COPPER and IGB_1G-I210_COPPER not support txfree and txrs + 3.IGC-I225_LM, IGC-I226_LM, IGB_1G-I350_COPPER and IGB_1G-I210_COPPER not support txfree and txrs """ self.pmdout.start_testpmd( "Default", @@ -844,7 +844,7 @@ class TestShutdownApi(TestCase): self.dut.send_expect("port config all rxfreet 32", "testpmd> ") self.dut.send_expect("port config all txpt 64", "testpmd> ") self.dut.send_expect("port config all txht 64", "testpmd> ") - if self.nic in ["IGC-I225_LM"]: + if self.nic in ["IGC-I225_LM", "IGC-I226_LM"]: self.dut.send_expect("port config all txwt 16", "testpmd> ") else: self.dut.send_expect("port config all txwt 0", "testpmd> ") @@ -869,7 +869,10 @@ class TestShutdownApi(TestCase): ) self.verify("pthresh=64" in out, "TX descriptor not reconfigured properly") self.verify("hthresh=64" in out, "TX descriptor not reconfigured properly") - if self.nic in ["IGC-I225_LM"]: + if self.nic in [ + "IGC-I225_LM", + "IGC-I226_LM", + ]: self.verify("wthresh=16" in out, "TX descriptor not reconfigured properly") else: self.verify("wthresh=0" in out, "TX descriptor not reconfigured properly") @@ -947,7 +950,7 @@ class TestShutdownApi(TestCase): When tx_descriptor_status is used, status can be “FULL”, “DONE” or “UNAVAILABLE.” """ queue_num = 16 - if self.nic in ["IGB_1G-I210_COPPER", "IGC-I225_LM"]: + if self.nic in ["IGB_1G-I210_COPPER", "IGC-I225_LM", "IGC-I226_LM"]: queue_num = 4 if self.nic in ["IGB_1G-I350_COPPER"]: queue_num = 8 diff --git a/tests/TestSuite_uni_pkt.py b/tests/TestSuite_uni_pkt.py index 26cb7556..b7950830 100644 --- a/tests/TestSuite_uni_pkt.py +++ b/tests/TestSuite_uni_pkt.py @@ -125,6 +125,7 @@ class TestUniPacket(TestCase): or "IXGBE_10G-X550EM_X_10G_T" in self.nic or "IGB_1G-I210_COPPER" in self.nic or "IGC-I225_LM" in self.nic + or "IGC-I226_LM" in self.nic ): outerL4Type = "" ipv4_default_packet_type = ["L2_ETHER", "L3_IPV4"] @@ -187,6 +188,7 @@ class TestUniPacket(TestCase): or "IXGBE_10G-X550EM_X_10G_T" in self.nic or "IGB_1G-I210_COPPER" in self.nic or "IGC-I225_LM" in self.nic + or "IGC-I226_LM" in self.nic ): outerL4Type = "" ipv6_default_packet_type = ["L2_ETHER", "L3_IPV6"] @@ -287,6 +289,7 @@ class TestUniPacket(TestCase): "I40E_40G-QSFP_B", "I40E_10G-10G_BASE_T_BC", "IGC-I225_LM", + "IGC-I226_LM", ], "not support %s" % self.nic, ) diff --git a/tests/TestSuite_userspace_ethtool.py b/tests/TestSuite_userspace_ethtool.py index 7129301e..9bef4587 100644 --- a/tests/TestSuite_userspace_ethtool.py +++ b/tests/TestSuite_userspace_ethtool.py @@ -570,7 +570,12 @@ class TestUserspaceEthtool(TestCase): mtus = [1519, 2048] mtu_threshold = 2022 offset = 0 - if self.nic in ["IGB_1G-I350_COPPER", "IGB_1G-I210_COPPER", "IGC-I225_LM"]: + if self.nic in [ + "IGB_1G-I350_COPPER", + "IGB_1G-I210_COPPER", + "IGC-I225_LM", + "IGC-I226_LM", + ]: mtu_threshold = 2026 offset = 4 # RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + ICE_VLAN_TAG_SIZE * 2 @@ -593,6 +598,7 @@ class TestUserspaceEthtool(TestCase): "IGB_1G-I350_COPPER", "IGB_1G-I210_COPPER", "IGC-I225_LM", + "IGC-I226_LM", ]: mtu = mtu_threshold self.dut.send_expect("stop %s" % index, "EthApp>") diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py index 5c43e3bb..409adf2a 100644 --- a/tests/TestSuite_vlan_ethertype_config.py +++ b/tests/TestSuite_vlan_ethertype_config.py @@ -181,7 +181,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("vlan set strip off %s" % dutRxPortId, "testpmd> ", 20) rx_vlans = [1, random_vlan, MAX_VLAN] # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I226_LM", "IGC-I225_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100] @@ -214,7 +214,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("start", "testpmd> ") # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM", "IGC-I225_LM"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I226_LM", "IGC-I225_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100] @@ -247,7 +247,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("start", "testpmd> ", 20) # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM", "IGC-I226_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100] @@ -277,7 +277,7 @@ class TestVlanEthertypeConfig(TestCase): self.dut.send_expect("start", "testpmd> ") # caium_a063 card support only default '0x8100' tpid in rx mode - if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM"]: + if self.nic in ["cavium_a063", "cavium_a064", "IGC-I225_LM", "IGC-I226_LM"]: tpids = [0x8100] else: tpids = [0x8100, 0xA100]