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 EBF71457A1 for ; Mon, 12 Aug 2024 15:00:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E268440668; Mon, 12 Aug 2024 15:00:16 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2061.outbound.protection.outlook.com [40.107.93.61]) by mails.dpdk.org (Postfix) with ESMTP id AA59140654 for ; Mon, 12 Aug 2024 15:00:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pZqpo5oeOTtSemdTgGWI0Di+I2AsFYgFAKJlFVhrlAoZpJcqq1CxB1qmQ/iRNdfAxij5V7ee2hZY6RqKD11IqYjP1mZGt/khY9QRdUOPbWfV1jLfGRsoVT/pCf/hvB/Uq3A6FOMN3KU4J6XqdzIpMETXuBAwBfD5IJ5vB88kjcHJgGcsiQSKfuxUkwo1tvZlD7EekxosV4Idhz+0KcYMFIIIlAl9DYleDQj1oFI0EidazoS4Ua1UoUnTpzySmvvWKo32oMscuGrCnoK+2XmymvK2NY8kl6CkKXvHA6Sulw5zYkRUyDfZmX6ClbKxJkjn+RJEzaIvzhmcOntWMjlppg== 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=11ZTLjo8HWkUxxEBWAQHpcHfrxESOXtk/DWnUuIQ7Xk=; b=RTgnL5MlDlYHMIPqJ5CwIHMIXQcGhDOeM+2bQ7/Iqyhjr5MK3yBhahUNzPl/1D8b8QpYrQwMXcMelp1Ugu4Hu2LXWHuRYMqdzTBRZnvBWBTdwBM1XQF5xY3hxoxB+dlPD1iGT4+T+2KUoepNVwVDA+7omI0pzaWAmoHeS2RBaHuS7bKqrbs5aQUGVusFZYHy67gjCbKutJDnKQ8kS/ei2eWhNHPrcfxGlnaKkU9Lz+IJj4YCul+WhE6OTVRTD7BqIdqIZG44jNU2+El2AARvB51KE5+RF9aPcgYyKG4MGV3VEw2UHFCS+MWzqXw1mYwLD/ZKKjZRy03Aw9We7wphMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=11ZTLjo8HWkUxxEBWAQHpcHfrxESOXtk/DWnUuIQ7Xk=; b=h0/X/Ifq2i2V8VO8NTiyBQwsvVmVLI6FXrWlZdEKlmkF5bZ3qonyfFUGDdbWGk3jfSBV77AtQFxgzo0yqqLO+4ywrhwRmfAfQ7wtwMe+G0f/9yI0MKLa6ty+/KP2DYvoFaZQ8rXes5l3CXOFjZ4NLwyLTSLzsHzGChJneOG6SZT0ByFNPz/pE/WpdTlg37jt3KSMsLJ8tQlx9RXoqAAWXfbOgdQQBQly31KZwTkuKd1qIQhAoo9KC1kgmZid1OM2XQPm7hNn+QZelO1PPg2J7s25+oqIgEGeMYz3q37vG237Y59ZB3Qwkd+XZL5gp99S0FE1IJGtyEAgLf9Y6C7lng== Received: from MN0PR04CA0015.namprd04.prod.outlook.com (2603:10b6:208:52d::26) by BY5PR12MB4196.namprd12.prod.outlook.com (2603:10b6:a03:205::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.22; Mon, 12 Aug 2024 13:00:11 +0000 Received: from BL02EPF0001A0FC.namprd03.prod.outlook.com (2603:10b6:208:52d:cafe::d6) by MN0PR04CA0015.outlook.office365.com (2603:10b6:208:52d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.22 via Frontend Transport; Mon, 12 Aug 2024 13:00:10 +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 BL02EPF0001A0FC.mail.protection.outlook.com (10.167.242.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.19 via Frontend Transport; Mon, 12 Aug 2024 13:00:10 +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; Mon, 12 Aug 2024 05:59:55 -0700 Received: from nvidia.com (10.126.230.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; Mon, 12 Aug 2024 05:59:53 -0700 From: Xueming Li To: Chaoyong He CC: , Long Wu , Peng Zhang , dpdk stable Subject: patch 'net/nfp: remove redundant function call' has been queued to stable release 23.11.2 Date: Mon, 12 Aug 2024 20:49:35 +0800 Message-ID: <20240812125035.389667-99-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240812125035.389667-1-xuemingl@nvidia.com> References: <20240712110153.309690-23-xuemingl@nvidia.com> <20240812125035.389667-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0001A0FC:EE_|BY5PR12MB4196:EE_ X-MS-Office365-Filtering-Correlation-Id: 9bc52340-0dfa-4edd-4a7c-08dcbaceb2d3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|376014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?5ca96jPy2B4z0p2GAD3PSk2ebK8Hx5bS9kkdfyZqvAyEUSsR+mksp4KRKFeI?= =?us-ascii?Q?FZswvb2Nx5qUWUIEqRuuRYCWgvaV9AX/r5NbBZv2iUxZbaVYfgI+uJrF/XCw?= =?us-ascii?Q?x53bh9eok9kHaTC0fSjq97wg3s3lb0GxlR13nkYoa7oydkEb/GSNo3S/oNew?= =?us-ascii?Q?i4npXRSVDc0wjhiOn4QAflM/08e5YEyI4bqIIKlH4Q6/dYiZkumbRwoHxWfG?= =?us-ascii?Q?AXsPyz6Ss0JdoSObujqwUAaacMQBj7rpSYzqN7coJ5GUT+kXHa6Wn5HD3Vnx?= =?us-ascii?Q?9yt4HV6LP3I0CR8rf58v9UafNZ8b20fS3QKlYksGjaDa2V8ObaGf5+F2aJGT?= =?us-ascii?Q?PPSv5J8wjSdq7IrD4fK4yXmScGhrcCn5/fDEA9CDzmWGsqbhpRQ7bBnDiX4b?= =?us-ascii?Q?P9kt/TOG/grXcvUSrk0HMnEY6WqOS4AfU3HIE6/QgDW25ZeaedA+w3h8cqac?= =?us-ascii?Q?rzO7WNkVw26S1mu4gBN8xdWEypMtwBahbNbyrFboBA/qSr+v/K5Lt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Pw6+6PiDB48tktt6o8thYr1nrPCjTtW5g+t6Ym?= =?us-ascii?Q?YONZzmqQ57D9aQesCLOWcaSSEvTRzIk3?= X-Forefront-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)(82310400026)(376014)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2024 13:00:10.3801 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9bc52340-0dfa-4edd-4a7c-08dcbaceb2d3 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: BL02EPF0001A0FC.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4196 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.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/14/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=241976029a5e87ef3a1e07416a00cca49cafd5eb Thanks. Xueming Li --- >From 241976029a5e87ef3a1e07416a00cca49cafd5eb Mon Sep 17 00:00:00 2001 From: Chaoyong He Date: Mon, 24 Jun 2024 09:57:12 +0800 Subject: [PATCH] net/nfp: remove redundant function call Cc: Xueming Li [ upstream commit d16a42f4a7cf2e73f0e2f7daa9bc64aa63e7bcd9 ] Remove the redundancy call of 'rte_eth_copy_pci_info()' as the API 'rte_eth_dev_pci_allocate()' already done that. Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework") Signed-off-by: Chaoyong He Reviewed-by: Long Wu Reviewed-by: Peng Zhang --- drivers/net/nfp/nfp_ethdev_vf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/nfp/nfp_ethdev_vf.c b/drivers/net/nfp/nfp_ethdev_vf.c index 88da593190..cfe7225ca5 100644 --- a/drivers/net/nfp/nfp_ethdev_vf.c +++ b/drivers/net/nfp/nfp_ethdev_vf.c @@ -288,8 +288,6 @@ nfp_netvf_init(struct rte_eth_dev *eth_dev) if (rte_eal_process_type() != RTE_PROC_PRIMARY) return 0; - rte_eth_copy_pci_info(eth_dev, pci_dev); - net_hw->eth_xstats_base = rte_malloc("rte_eth_xstat", sizeof(struct rte_eth_xstat) * nfp_net_xstats_size(eth_dev), 0); if (net_hw->eth_xstats_base == NULL) { -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-08-12 20:44:05.658207349 +0800 +++ 0098-net-nfp-remove-redundant-function-call.patch 2024-08-12 20:44:02.375069349 +0800 @@ -1 +1 @@ -From d16a42f4a7cf2e73f0e2f7daa9bc64aa63e7bcd9 Mon Sep 17 00:00:00 2001 +From 241976029a5e87ef3a1e07416a00cca49cafd5eb Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d16a42f4a7cf2e73f0e2f7daa9bc64aa63e7bcd9 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index a422bcd057..e7c18fe90a 100644 +index 88da593190..cfe7225ca5 100644 @@ -23 +25 @@ -@@ -302,8 +302,6 @@ nfp_netvf_init(struct rte_eth_dev *eth_dev) +@@ -288,8 +288,6 @@ nfp_netvf_init(struct rte_eth_dev *eth_dev)