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 164C243B7D for ; Tue, 5 Mar 2024 10:57:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 123D142E41; Tue, 5 Mar 2024 10:57:04 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2088.outbound.protection.outlook.com [40.107.94.88]) by mails.dpdk.org (Postfix) with ESMTP id C52C84026B for ; Tue, 5 Mar 2024 10:57:02 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TRftCNkhH3L/aHHSCrQdMI5W/wfPbEWdTni1GljSEnICniiCpXEXJzRO+pLXLHyOZ02VSP5LliGPWzW872I/Fwa9YEQStOujKzK5yQ+cxkaHwSyX3dzi1NvRgU18eweEgu32VvZz/U+7ivJ9wWUtfdyeBGnkBVFcdGJf09hTULUOUDxjjwb75qPmyIvFT6oDlzBgWRfjV32MlCJe8uTANjBoyrJv34TyndiDI0+hKh6UP1GYU2E8uR7KNmNIFodPt2UPOVrmU6z8e9fNzLKH97VFhxDhIXUo2y+iWiZ4sRR0JXV7QO0wFUhZJrzzrQQoAcCXeAY/KO6KxC/zZpDDlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=37X3zOh2B1G6x74c5vmfO9KAuZ4GzVCgLAnJHLYX3zU=; b=NWeBCmTQO4G8GWihmyVqdwkjtbr1CwYtFhD/KqU1gzfvDAowJ2GEvMoG9NOOrISl8wziya2SCJ7p6lxsYj43gnz0JIIrTdDrGnyMx0ZeaS976YFdI3H1OlRKyFji7a1IbbREU0yYDHixnpAeyKm/MuTWWr2oJbseEgnfvBLSpLKvEdGG0YX6Bj0SS0ScFLr53jrjANULvN3l01Rr6czATPgIErPEsO21PVZkNM5pCVAChrjqMrwlDYZo3WMeN+mcM0jlCB9MCMFAJ6PzD4AuTJW7UUN8Uum5vJFico1nwKWMWVaBYskr7nu/jOi4jfrLfLL2h8dyWnKH9QQDVAUvgw== 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=37X3zOh2B1G6x74c5vmfO9KAuZ4GzVCgLAnJHLYX3zU=; b=MYCkloPibCkKgjenF9Ig9m8GIVsXkMHJa2gPSDtCMg0+jNpUACup2f9z/6ry4rWVhJuGoHCsI3/f2jmqAp7bBq7PWoi5D2+KskjtUb8/x05sV8OlGev+TT6g+RRxLtuvVufKxhEHXw3x20iFJTysRRS03zTBRP2lUMVD4umFKSkC+BJjk+C/cmqXd70+N95li5ils1tiD/OCDJB175qXvD+IL6ilt3WVKbHxTfBczofjr7z+e10kOYMMeb0+Mect3iaNuJAVYi/kSj1rordahwv5qXVB+/5uXTuvbSl9N1f5DDF1+emZfC8u2cjWsuhzu5GUvaYC9XbanKCzfraD8g== Received: from MW4PR04CA0064.namprd04.prod.outlook.com (2603:10b6:303:6b::9) by CY8PR12MB7339.namprd12.prod.outlook.com (2603:10b6:930:51::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 09:56:58 +0000 Received: from CO1PEPF000042AC.namprd03.prod.outlook.com (2603:10b6:303:6b:cafe::2f) by MW4PR04CA0064.outlook.office365.com (2603:10b6:303:6b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38 via Frontend Transport; Tue, 5 Mar 2024 09:56:58 +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 CO1PEPF000042AC.mail.protection.outlook.com (10.167.243.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:56:58 +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.986.41; Tue, 5 Mar 2024 01:56:44 -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.1258.12; Tue, 5 Mar 2024 01:56:42 -0800 From: Xueming Li To: Long Wu CC: Chaoyong He , Peng Zhang , dpdk stable Subject: patch 'net/nfp: free switch domain ID on close' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:47:18 +0800 Message-ID: <20240305094757.439387-98-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-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: CO1PEPF000042AC:EE_|CY8PR12MB7339:EE_ X-MS-Office365-Filtering-Correlation-Id: 5a27f566-079f-40d6-f0ef-08dc3cfa98cf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C1xiUB8qUkAJWHuO1XzFZ0BPvU6HSoj4mULKAH4G9Wf/IYOtHsZzipTbf6ABqVChb0XiFR0hiOw1QhNQODXMyixvwJBvPIEfQRJUCBEAlmgCY2FM+Na1SxB5lRcBCMwzetlFlFzpNGfnB8+bENB17BYWLBD0Qet1QDYm5FSBuM7e9A5HO5bWeP0L3QGNtZea6M39meA6yyBhmmHvAwpJ+dM5siamOt25R37Ie3U040dzyAvstkvG3JG3S7CY9RNJNRAgoHlRZeZFGu+cCjfW2Rv8HP+A3kp/dvovR6ytJS2zq4Mjc+dvEsP+qMZmIEXc79TNerQVIR/ogEATdkcf1zvcy3b03wxv3elBrG50UAzimNZ6p3UGysg/HOcuhdWFTcWwZUsCYmHO3O0pJ7HUyERhWeHFS5ArEPsttjfAFJ0hTZQu0yR+pN2mW/vnLIlcHdQX29g2hEMboc5c+QNtI1JEovmbHntcZ5Wx+adH9PM/6OZmB/7P5s6lQGoXr2zmTioaz6KvLThi3T1QMqSCXSaWuoKYQ5NRZEnsTjWZMS7CE8VQspQIqkbxQzx7hFJ4SMT3dzy4bK3d9y4Mow/x7tHvnC5P1+ChjU/hyAu4310ukdr2Z+Ne4VrI+QEqmF24bYWhcZL/lq9t7J6bZyW/kZYryWmpgDdHxDIBz07YGJcEz0QeF54e0vA9oMk4yPyBnprwad1JN8VPeYtBBcd+4iL5dqMEG8J1qoaRZ+V3S7Dh6oGSfF5IVIJ+uowZnq81 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:(13230031)(82310400014)(36860700004)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:56:58.1460 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5a27f566-079f-40d6-f0ef-08dc3cfa98cf 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: CO1PEPF000042AC.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7339 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/31/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=84e9d93f57b58a1959237c13bb9986e854937cb3 Thanks. Xueming Li --- >From 84e9d93f57b58a1959237c13bb9986e854937cb3 Mon Sep 17 00:00:00 2001 From: Long Wu Date: Thu, 14 Dec 2023 18:24:31 +0800 Subject: [PATCH] net/nfp: free switch domain ID on close Cc: Xueming Li [ upstream commit 20eaa8e2ebae621b32d740f6c0529e11d33519ff ] Free domain id in close interface. Fixes: e1124c4f8a45 ("net/nfp: add flower representor framework") Signed-off-by: Long Wu Reviewed-by: Chaoyong He Reviewed-by: Peng Zhang --- drivers/net/nfp/flower/nfp_flower.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/nfp/flower/nfp_flower.c b/drivers/net/nfp/flower/nfp_flower.c index 1dc9b4250b..326d36c3a9 100644 --- a/drivers/net/nfp/flower/nfp_flower.c +++ b/drivers/net/nfp/flower/nfp_flower.c @@ -814,6 +814,7 @@ nfp_uninit_app_fw_flower(struct nfp_pf_dev *pf_dev) rte_free(app_fw_flower->pf_hw); nfp_mtr_priv_uninit(pf_dev); nfp_flow_priv_uninit(pf_dev); + rte_eth_switch_domain_free(app_fw_flower->switch_domain_id); rte_free(app_fw_flower); } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:33.916455597 +0800 +++ 0097-net-nfp-free-switch-domain-ID-on-close.patch 2024-03-05 17:39:30.863566496 +0800 @@ -1 +1 @@ -From 20eaa8e2ebae621b32d740f6c0529e11d33519ff Mon Sep 17 00:00:00 2001 +From 84e9d93f57b58a1959237c13bb9986e854937cb3 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 20eaa8e2ebae621b32d740f6c0529e11d33519ff ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index 94b50611f0..88a1b061e1 100644 +index 1dc9b4250b..326d36c3a9 100644