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 E52C845CE3 for ; Mon, 11 Nov 2024 07:38:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD3914067A; Mon, 11 Nov 2024 07:38:36 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2074.outbound.protection.outlook.com [40.107.102.74]) by mails.dpdk.org (Postfix) with ESMTP id E990A4067A for ; Mon, 11 Nov 2024 07:38:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=w4k8yYCjGyz5Ljj6sr0uf3zQBRsPPD4OBK94ZKdNlEeg2lTFZgtmECaTCk+EAC/CvRkYFcYr/2/iV0b5R3G+mclkzydCpejf+0rQj30CB65cYjTgd4E+4Jw9jKFhvUaEhAUmRFouGITXidfVx5dI7lgIpyPX7kXr6rKTTUPUY6JjuMVBO570nUJ0PxxR3Y5IrZlZ6YhE5E44ycH1cWMbB6qAuLh37318GYID8W5ipJAn1R/gTsx2OVAqFzKLE8FluR0SXYdVaDqhF0JTny8cnO24g0488HuqYrvlvz4mK/rnsWpPptbGhuo0F4Qv99XpYIB7l6RemKAaaIwWM6BSFA== 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=cnGYvPzxgxX4fZr2QyCkpQbYULtm+LP/pjSTmAdJ8+U=; b=Sy8J0CWahRBu6zmnqw+vPFY64HhLW9psQgSGQL0njD05WKQjxpXlQQVu1/CPpkXinQVjZS8h+6z73CbC3NENl5caOllBLQRCPMx0Okn1JssyH9bM7PL/qJdMj1xGmZLS7kq7VJB8LqyCd97PnE4zb9y1Qi8bI3lQo6mcNtjlryLvj0zsXuGmnYKZaVtelRQ5pUUTLmyHcuZtDVtJUKS2kxUpXWUpVvz1zal1Jfxyq43dkKOhKZfiLycFjzmlCIpObzKvUBDgczD7zhFKQKUZPLXuTKSkLzzSwpVH2kWpS/p10M1K0SLVu4o68zM42pbdhlUsD0Y3v2TWUkWx3Rt/PQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=corigine.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=cnGYvPzxgxX4fZr2QyCkpQbYULtm+LP/pjSTmAdJ8+U=; b=ZwIBWzmdQvXYOutyAef+pJQPiwLeGB07W6Dz1/+y7OaZ8i73CWeZKvb+bB4A5g9XVXYTA1/LblU+ihUhrZ/KQ1i95jfceSr0zGw9vEC/PrLyviAWOhTi5KvY1Re0TuTYtJzaTPtkmwOvnY9wLscIVOZG5+o/qRwdioodKlqIN3qKbGS96QeeKaG4r08+KJT7qVv/5h6seCm7UaTf+GyupKtEPjsLYccozIZUSCraNwC3itHE96TmSTrvVJTspD2AAiSAeC+1c8UtRD56eRdGF3CqUCWxS//+qNzJzP4TU4gmYO4H7nDLna/VQgtB2PI4X5bXe/i90Jof7OEMaJGYZQ== Received: from SN7PR18CA0027.namprd18.prod.outlook.com (2603:10b6:806:f3::22) by MW4PR12MB7031.namprd12.prod.outlook.com (2603:10b6:303:1ef::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.28; Mon, 11 Nov 2024 06:38:32 +0000 Received: from SN1PEPF0002636A.namprd02.prod.outlook.com (2603:10b6:806:f3:cafe::c5) by SN7PR18CA0027.outlook.office365.com (2603:10b6:806:f3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.27 via Frontend Transport; Mon, 11 Nov 2024 06:38:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by SN1PEPF0002636A.mail.protection.outlook.com (10.167.241.135) 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:38:31 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) 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:38:21 -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:38:18 -0800 From: Xueming Li To: Qin Ke CC: , Chaoyong He , Long Wu , Peng Zhang , dpdk stable Subject: patch 'net/nfp: fix type declaration of some variables' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:28:16 +0800 Message-ID: <20241111062847.216344-91-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: SN1PEPF0002636A:EE_|MW4PR12MB7031:EE_ X-MS-Office365-Filtering-Correlation-Id: 96cf7580-5b6d-4756-05ab-08dd021b75cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?ixcVVQVW8hkzEtk2jVEeJtEZMrk2SrJ/KElpYN8RgY/LuF/2xiA6ljzljC5v?= =?us-ascii?Q?SlkrB1hG/sq6qKrRoSEX6KD0kU82iPVi2K1Mmb8ma7c+71fLdH0oxTISXo/Q?= =?us-ascii?Q?FaFFYCIpov9KQ2hjxchrPHlmSUAgzdy75eJR1r3wWlQn5GIcFY7sdfyk1Mab?= =?us-ascii?Q?DCyReXr18o68P3dju3a+3+eOl6xQGJsnkBrIpG2zyWvXq2ON1x6jVYGU6moy?= =?us-ascii?Q?9QFmnLuLSo20VmWbgsa3U9PCFKZbN4sPH3e3yULQTz/jsoamqDCtr1ekuUMU?= =?us-ascii?Q?0cgH1HWIcfBd376IGQsz1TB9POezARQtcWDawejoLdJrv01oSIfHsblpJ/zs?= =?us-ascii?Q?pHtW7Vwa/MY0x/VGdDC+LIDonWFuUE+/5bYvs5YVWUHlWy57gvpIXNEuvwgR?= =?us-ascii?Q?ONrbjvmx61K7EU4iCeDVPZVQcDZ2Hm9rDezhF8IaXiOn4/2PqHghimivSegb?= =?us-ascii?Q?Q6wcN0uouKOBgfVdfI6qNOE0691YhdmD2wUJk04i+GJIrFljZPHkUee/YD9r?= =?us-ascii?Q?TtWgALt1Rlpgscmi7Z6tImQMMSelO+5ryHcxd6NfpmgyTsznF18BakE/cJIz?= =?us-ascii?Q?YU9lQthWTF42TCeozLPaljthp6ebt0zH1HKZJJC/gymt05tzRiWxPTKLLDz/?= =?us-ascii?Q?cld3IVuPEDFjwTbQAo9h9T1UpGhWVGWWi15+FMz2zmYGC7jpKkE3Gu691Wjx?= =?us-ascii?Q?vZG8UH/Fm7oA+h+QWYR2icMKRz/xYiSNbpMDMQT+oZNLih3FtAHpPmrbZ0Xb?= =?us-ascii?Q?JqjR9rSB2HPGjx9DXfdQvWwrM5miPVMuXkFx2PyVsAJ4HXV6O3rURl5xks1M?= =?us-ascii?Q?1jdhZ1wTUQqF/EMadmZ2R3J4UOEvqGIuByXPEAoIOUTm1dIIqO1246GOWEe/?= =?us-ascii?Q?ldSlqNUlDGCb8VLhEPuBGp+Y2vma2JARiA+rEWBQTD3v+M9i8kROvkop5xM2?= =?us-ascii?Q?xKHxGge+5p23Zfx292rj4MIBa/6ljhLU6Vc8g06Isn9QTJymivriX1XJ3idX?= =?us-ascii?Q?tqY9M8nxSpzPKg2Pf+o5nI8+xwNVpkBShvf5banRfW00VkynH2/fYIpy96rA?= =?us-ascii?Q?xaOU/R+qYB4x1bso6pIGfWd0XWkv3+m/3qlG1KZHkDD+1H9yh61fVo2dGD1I?= =?us-ascii?Q?GIE2sJn47e1qu7iNfo798VdZMjeUpf0W7ctOEM8xwn7T9nn/FzucEDMor0FR?= =?us-ascii?Q?Oo/u1yTrpJNST0i2gJ4TQnQDn36ybb1ul7Fa69HCBq1HU4MV2muPOPxpXx/w?= =?us-ascii?Q?/+U2+4Gs8cXAadBaYRp8VpkTMhUlBIZ7MNA80TmtIwE1+1fdJmVrwyJMhHfH?= =?us-ascii?Q?ZIpqazdI1Ftxz8xdRGGpsJA+QvEOhRfej5NMRxLeb7fJJEtbP+8bgp+yIeB9?= =?us-ascii?Q?1R17nrfArXtgW4fdIqP9rw9shMkwZH/3lY0uA3tUfm6weJKNUg=3D=3D?= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(376014)(82310400026)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:38:31.9127 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 96cf7580-5b6d-4756-05ab-08dd021b75cd 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002636A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7031 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=33d19bdd507223b7e7f2b30332642338e3f0f058 Thanks. Xueming Li --- >From 33d19bdd507223b7e7f2b30332642338e3f0f058 Mon Sep 17 00:00:00 2001 From: Qin Ke Date: Thu, 5 Sep 2024 14:25:04 +0800 Subject: [PATCH] net/nfp: fix type declaration of some variables Cc: Xueming Li [ upstream commit 93ebb1e57e3ff5ce34168058d73a82ae206255cc ] The type declaration of variable 'speed' and 'i' in 'nfp_net_link_speed_rte2nfp()' is not correct, fix it. Fixes: 36a9abd4b679 ("net/nfp: write link speed to control BAR") Signed-off-by: Qin Ke Reviewed-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_net_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/nfp/nfp_net_common.c b/drivers/net/nfp/nfp_net_common.c index 0491912bd3..08cb5f7d3b 100644 --- a/drivers/net/nfp/nfp_net_common.c +++ b/drivers/net/nfp/nfp_net_common.c @@ -153,10 +153,10 @@ static const uint32_t nfp_net_link_speed_nfp2rte[] = { [NFP_NET_CFG_STS_LINK_RATE_100G] = RTE_ETH_SPEED_NUM_100G, }; -static uint16_t -nfp_net_link_speed_rte2nfp(uint16_t speed) +static size_t +nfp_net_link_speed_rte2nfp(uint32_t speed) { - uint16_t i; + size_t i; for (i = 0; i < RTE_DIM(nfp_net_link_speed_nfp2rte); i++) { if (speed == nfp_net_link_speed_nfp2rte[i]) -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:09.219265057 +0800 +++ 0090-net-nfp-fix-type-declaration-of-some-variables.patch 2024-11-11 14:23:05.232192837 +0800 @@ -1 +1 @@ -From 93ebb1e57e3ff5ce34168058d73a82ae206255cc Mon Sep 17 00:00:00 2001 +From 33d19bdd507223b7e7f2b30332642338e3f0f058 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 93ebb1e57e3ff5ce34168058d73a82ae206255cc ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index d93f8157b9..780e9829d0 100644 +index 0491912bd3..08cb5f7d3b 100644 @@ -24 +26 @@ -@@ -157,10 +157,10 @@ static const uint32_t nfp_net_link_speed_nfp2rte[] = { +@@ -153,10 +153,10 @@ static const uint32_t nfp_net_link_speed_nfp2rte[] = {