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 3829445CE3 for ; Mon, 11 Nov 2024 07:35:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 28EC340685; Mon, 11 Nov 2024 07:35:15 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2054.outbound.protection.outlook.com [40.107.94.54]) by mails.dpdk.org (Postfix) with ESMTP id 9EBFB40685 for ; Mon, 11 Nov 2024 07:35:13 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Br/5UceqVdtTCL1ZagO1hciGtYGcqEoG81+Is1DF+4wGBTwIl1CFs0lFGSwVlHcyg3qDcYOQAJWpDx9QMqmAriPOoTn60sWgq7wA0ZSkkAwNSKLfwOAuV5eEr0ok+cTUu89NOFmFaWjtu2Yy4INymlvXhcNWLuUy0QnctWJcS+/Zc/KbAL7HMbQN49G/HiQP7lu59YJEXAPFSKu3F1cvvYHQBbNWny6PADUgkPiX0HfNNk/BIpkIUI6jEyX6CbtNpsc2TZrg1oPGXrPqGPV9qwbI8+i8O3N6Qxa4qnKmFQwBnlVA6TGtw1ax+2pq5FF6Zs7d5p/ys4ZEv6w8wn2KTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NDbwN3sUTaICKAIkM5oh/QTAvPLI3IsGreBSpV+stb4=; b=l8t3FaWw6iKzAd+EWnCItmCabJCqnkyEx9sNbiFuz2axIIVRaedB2YqcSMKc5p7c+jWYPhWQCt7wyC3ePoyZj41wZo5FpEnK68QU0HnBtoMHTs+Cs12jtkK1p/M+TkhPfpUaEf8lgRetn4GZszOKLfXoDqXP8WJhny3xfZd2bgbYFNmC2FCDWoeg4ZThk+avBfnn4Bj411w4S0fQYIoz8Flhb9hfJt83rmXu8VsuvX4gj7UYYvdnMcVsPyXlPutS7Xf9eseb/Zqe/slEzkiRvILeEVfTZ9RuL0H1fWauLst9RXtnNZL5X/ArCknLP5KLASstARWGRFIZ+bWKMa6vXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NDbwN3sUTaICKAIkM5oh/QTAvPLI3IsGreBSpV+stb4=; b=p+O7e/gBU1SA0LzigtJPRauGQdoppbDYczSP6W+6lStvJUSlaj6TdzbONKo6UQnU8GmGr2uNPHUMtnEJ+q1r+2XCfgmoff426zvI0o+CHiPK3QCvZBlHY3pq6k1J6Q0RO5u0UiP5/qX90c26RUmm8anAp6V4jJYMMF8NXT8s7myv2JqnX6tlIZgsDFDoHV4vPXUvEPE6anNXHYJnfox24io9E9/YnPaGyzRTzWih3J2RUpmHErM8+Ql/EmrF8goqsQilpbNNgzXAk9YvEgE2xz6siSqldI1Il+RueJgJdVAnZ7XhKQNLe1THLifJPvEkMYqKt+xw8LTCENWrFwckwg== Received: from MN0P223CA0008.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:52b::21) by SN7PR12MB7977.namprd12.prod.outlook.com (2603:10b6:806:340::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.26; Mon, 11 Nov 2024 06:35:08 +0000 Received: from BN2PEPF000044AA.namprd04.prod.outlook.com (2603:10b6:208:52b:cafe::92) by MN0P223CA0008.outlook.office365.com (2603:10b6:208:52b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28 via Frontend Transport; Mon, 11 Nov 2024 06:35:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN2PEPF000044AA.mail.protection.outlook.com (10.167.243.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.14 via Frontend Transport; Mon, 11 Nov 2024 06:35:07 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 10 Nov 2024 22:34:53 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sun, 10 Nov 2024 22:34:51 -0800 From: Xueming Li To: Paul Greenwalt CC: , Soumyadeep Hore , "Bruce Richardson" , dpdk stable Subject: patch 'net/ice/base: fix link speed for 200G' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:27:43 +0800 Message-ID: <20241111062847.216344-58-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241111062847.216344-1-xuemingl@nvidia.com> References: <20241111062847.216344-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN2PEPF000044AA:EE_|SN7PR12MB7977:EE_ X-MS-Office365-Filtering-Correlation-Id: b7e58716-cb29-4dab-fecf-08dd021afc41 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?uvO9u6rFRUcpI4H908GuI6ea3UunK2ub7ce+N+RRtGE/JipA3sini7hbtdOP?= =?us-ascii?Q?cCRKwNnHMKEeHs6ADuaCpnKnge+MnkKC99QE3kUHZN6xs7/oBEE907PWfW0X?= =?us-ascii?Q?PdR3Z4AechB/93BHwRKVugE180gmshYwG8sfVVGbD1SnZrd/pwR8vVuvcPmt?= =?us-ascii?Q?tYGazwdhe6j6cYwbslF82Q/sFi2YB3XfiwruRnSd2iUlxVrgN+HP3/9mnHDN?= =?us-ascii?Q?2rmmbSyh3aMfFcMvYYuIBc6aFAasBq+mLpr4vyoIIyXcGKyq3swM8oF0Z7Nt?= =?us-ascii?Q?ERiabP/dIsLbX6fUmcXqH2ySRdkue7+aQbsM7r/Dggy6rsMNfSTaDgupRG2I?= =?us-ascii?Q?UoB0yrOjfM4uZEkrLaoEwRe5sPfzHpkq9+glGadhnJ8Rt3xoIEDFlryehWBD?= =?us-ascii?Q?6+V5wz0aUvoRvKOhWL7gqhfKWf0Rql+u5Wd+mPIflnShRTiqD/0JivNK8V21?= =?us-ascii?Q?eiIJXW47TndkW5dbQsVRiN8gKG7Sog6xgB2yPtv5+ccGT6et5xViQYJmq3ea?= =?us-ascii?Q?tPbZ73DbL9DRihcZiByHrWipW4SLBVgOvQp5l6wpHs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Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(82310400026)(376014)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:35:07.8879 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b7e58716-cb29-4dab-fecf-08dd021afc41 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN2PEPF000044AA.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7977 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/30/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=07885f6f163c85a7476a309661084396922b3d5b Thanks. Xueming Li --- >From 07885f6f163c85a7476a309661084396922b3d5b Mon Sep 17 00:00:00 2001 From: Paul Greenwalt Date: Fri, 23 Aug 2024 09:56:45 +0000 Subject: [PATCH] net/ice/base: fix link speed for 200G Cc: Xueming Li [ upstream commit e3992ab377d2879d6c5bfb220865638404b85dba ] When setting PHY configuration during driver initialization, 200G link speed is not being advertised even when the PHY is capable. This is because the get PHY capabilities link speed response is being masked by ICE_AQ_LINK_SPEED_M, which does not include 200G link speed bit. Fixes: d13ad9cf1721 ("net/ice/base: add helper functions for PHY caching") Signed-off-by: Paul Greenwalt Signed-off-by: Soumyadeep Hore Acked-by: Bruce Richardson --- drivers/net/ice/base/ice_adminq_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.h index 1131379d63..56ba2041f2 100644 --- a/drivers/net/ice/base/ice_adminq_cmd.h +++ b/drivers/net/ice/base/ice_adminq_cmd.h @@ -1621,7 +1621,7 @@ struct ice_aqc_get_link_status_data { #define ICE_AQ_LINK_PWR_QSFP_CLASS_3 2 #define ICE_AQ_LINK_PWR_QSFP_CLASS_4 3 __le16 link_speed; -#define ICE_AQ_LINK_SPEED_M 0x7FF +#define ICE_AQ_LINK_SPEED_M 0xFFF #define ICE_AQ_LINK_SPEED_10MB BIT(0) #define ICE_AQ_LINK_SPEED_100MB BIT(1) #define ICE_AQ_LINK_SPEED_1000MB BIT(2) -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:07.904353783 +0800 +++ 0057-net-ice-base-fix-link-speed-for-200G.patch 2024-11-11 14:23:05.132192839 +0800 @@ -1 +1 @@ -From e3992ab377d2879d6c5bfb220865638404b85dba Mon Sep 17 00:00:00 2001 +From 07885f6f163c85a7476a309661084396922b3d5b Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit e3992ab377d2879d6c5bfb220865638404b85dba ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index 6a89e1614a..3ec207927b 100644 +index 1131379d63..56ba2041f2 100644 @@ -25 +27 @@ -@@ -1624,7 +1624,7 @@ struct ice_aqc_get_link_status_data { +@@ -1621,7 +1621,7 @@ struct ice_aqc_get_link_status_data {