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 B4D2A45CE3 for ; Mon, 11 Nov 2024 07:35:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A559640685; Mon, 11 Nov 2024 07:35:44 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2071.outbound.protection.outlook.com [40.107.92.71]) by mails.dpdk.org (Postfix) with ESMTP id EB25A40685 for ; Mon, 11 Nov 2024 07:35:42 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gizL1Crht+GQ2kg5TvS8Nvchx/+H6uu5znuBsAY4SFUsgdmMSXVEbbt4KUgMM7wF2/XNw3/KABTpb8tuVLzbIEDHtD+Z53sKQ3TKWv2YwxD5sbDj/XTXtEVcjw+EzvKI5aTOVV+0xgDrdOj/5SC3tc4HBFZi5zKlxnivUiVHyu3bDUwHENITRhdbdR11c4MGCm/RofQXSiK8oxh2pLPRfccRwGvofmV2ZFEq++CeSDzlos7/RhS/0iwIxhd4Z0zs68QbWAOmfE47ceBLZylhrxMaBgjJXfZFxP4j+KEjDFQgyt5TIczQuvSerV1Yi+8JcnMqlrjcZbHJJFjvTbJggA== 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=IeTYZDFfZFiIawwTDjwOOezHC2FKsc9Pz6mFrclRUrc=; b=sF4zRm3OP/Q26QBmspowAqXZrwOvIztYrBGDTm1XUeG7xVE7UQy7Wvop++u9Lya6+3omBpYzpUbUzyBCpRxFLEYXtXkEoCrrOMS3Ezq1TjBeyZ40ZYoiY4vauCk3uCysJ2N6UX82yWPvHVuNL4glMVrcB4a8Vv7hx+tLILfOlh+XSxzxq4rGmm898zofRAKy90Bfzbkj8/KYITH0U1CSosNwpIMdJfmsdMP8R+wJS4OZNTlcqSzeDyL9j1pu7ctJzoCjCNJwAXx4AGCff+o9HWVPgzUwSzgYrzIxDUj4PGSQg+JaXKo/Am6jIJSTREy5ekLdF7ziBPKGk7cJdcs2Qw== 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=IeTYZDFfZFiIawwTDjwOOezHC2FKsc9Pz6mFrclRUrc=; b=Z74ftTixBrq8IYNz9DlMxCzGiMIqcU/zLMRp1+7wmRkEryUy3Dow3nq+9RX8DuVj6s/3iPtDZVAnYsnTtJYCsqIDDu+PrVx7yIwOrPRhqkEW985twv1ZqZFTg045pfPbNR3KGF1heBIa66WJ3tSimXLxnZt1ZOagDqRZGzmzngWXhKvgcPVl8iJxseanqUsFBeAs8ehIdrSgecDhYS6t8nz9w7ZAxjK4lJDKuuw8rhEK7ngH25dPgvmh+Q1RgwMVx8jJNN2Wa9Jvt2n3o523Wr5azNb3DinsVUZn9uk0R1YHAr2F/gAa1QObu0BmZSm+5v+3GOI5ZIDMcs974GsvcA== Received: from MN0P223CA0003.NAMP223.PROD.OUTLOOK.COM (2603:10b6:208:52b::30) by LV3PR12MB9267.namprd12.prod.outlook.com (2603:10b6:408:211::9) 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:35:38 +0000 Received: from BN2PEPF000044AA.namprd04.prod.outlook.com (2603:10b6:208:52b:cafe::2b) by MN0P223CA0003.outlook.office365.com (2603:10b6:208:52b::30) 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:38 +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:38 +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:35:19 -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:35:17 -0800 From: Xueming Li To: Anatoly Burakov CC: , Bruce Richardson , "dpdk stable" Subject: patch 'net/i40e/base: fix setting flags in init function' has been queued to stable release 23.11.3 Date: Mon, 11 Nov 2024 14:27:46 +0800 Message-ID: <20241111062847.216344-61-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_|LV3PR12MB9267:EE_ X-MS-Office365-Filtering-Correlation-Id: ae7f6591-d78b-43ca-d4a7-08dd021b0e5c 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?+G7p2FU8Mx6dEHR4d8AysdbuQx8KwXHA6z11zuDLdqeFCEuCBMi9x3UJDa3r?= =?us-ascii?Q?MqfQbF/2qyzsxJ/S525O0XLLeYE5jGUkRvlKcv203eCrOUyNThxDLyXK0ygS?= =?us-ascii?Q?8kt3GnDw8WNaCSLO/xNnYsGy0+FpPybFznuUfLZSfuOnnQoRM6c/Tdzjzh/t?= =?us-ascii?Q?Qk5ij1EMP/noUTObVz3L/RcJFur9i0wtbwqri1MSeYfjnEDvKe9X3YCrgV1m?= =?us-ascii?Q?wyEgxoAWHy22uWujXUNKyCtDhmhI0QPD+3LqDwzWyEJMkuGCLEr1UOdaZbNd?= =?us-ascii?Q?NidoaEvR1EzDQ7a22Rwc55sD6piUkQlTlxsFafIdcwouE6waD0P0dZaNUHOt?= =?us-ascii?Q?OxlX1ObGoxgf9VOAFYi0QP0TzZvETUju+VPyNY1Qa9vLLmn0LA7RP855sdzK?= =?us-ascii?Q?yCIruEgwzV0nR2yGHkxWOuIGTaSDeToG84bsmGyxj4ZpzCMkaWVmBtycA2+e?= =?us-ascii?Q?pCqWOcIEMQMrYFyuMcIPAsYOW3N8TkJRP9NfpHPS3Vcs/5lGbe5CDg+Qr6oi?= =?us-ascii?Q?+MVcjoGI9sGV+hFBv+yh9IOPZ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Antispam-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)(376014)(82310400026)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 06:35:38.2784 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ae7f6591-d78b-43ca-d4a7-08dd021b0e5c 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: LV3PR12MB9267 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=c04a0407ada46498d4a261aa53fca0f0ef118cb2 Thanks. Xueming Li --- >From c04a0407ada46498d4a261aa53fca0f0ef118cb2 Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Mon, 2 Sep 2024 10:54:17 +0100 Subject: [PATCH] net/i40e/base: fix setting flags in init function Cc: Xueming Li [ upstream commit deb7c447d088903d06a76e2c719a8207c94a576e ] The functionality to set i40e_hw's flags was moved to its own function in AQ a while ago. However, the setting of hw->flags for X722 was not removed, even though it has become unnecessary. Fixes: 37b091c75b13 ("net/i40e/base: extend PHY access AQ command") Signed-off-by: Anatoly Burakov Acked-by: Bruce Richardson --- drivers/net/i40e/base/i40e_common.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index ab655a0a72..821fb2fb36 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -1019,9 +1019,6 @@ enum i40e_status_code i40e_init_shared_code(struct i40e_hw *hw) else hw->pf_id = (u8)(func_rid & 0x7); - if (hw->mac.type == I40E_MAC_X722) - hw->flags |= I40E_HW_FLAG_AQ_SRCTL_ACCESS_ENABLE | - I40E_HW_FLAG_NVM_READ_REQUIRES_LOCK; /* NVMUpdate features structure initialization */ hw->nvmupd_features.major = I40E_NVMUPD_FEATURES_API_VER_MAJOR; hw->nvmupd_features.minor = I40E_NVMUPD_FEATURES_API_VER_MINOR; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-11-11 14:23:08.113492979 +0800 +++ 0060-net-i40e-base-fix-setting-flags-in-init-function.patch 2024-11-11 14:23:05.142192839 +0800 @@ -1 +1 @@ -From deb7c447d088903d06a76e2c719a8207c94a576e Mon Sep 17 00:00:00 2001 +From c04a0407ada46498d4a261aa53fca0f0ef118cb2 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit deb7c447d088903d06a76e2c719a8207c94a576e ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index e4de508aea..451cc2c1c7 100644 +index ab655a0a72..821fb2fb36 100644 @@ -23 +25 @@ -@@ -980,9 +980,6 @@ enum i40e_status_code i40e_init_shared_code(struct i40e_hw *hw) +@@ -1019,9 +1019,6 @@ enum i40e_status_code i40e_init_shared_code(struct i40e_hw *hw)