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 C81B543BBA for ; Thu, 7 Mar 2024 12:20:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCB05427D8; Thu, 7 Mar 2024 12:20:46 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2119.outbound.protection.outlook.com [40.107.95.119]) by mails.dpdk.org (Postfix) with ESMTP id 8425D40272 for ; Thu, 7 Mar 2024 12:20:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=in3E7ijHqwHV9ToawdxYkZY1wLqeobegALnbASAEgmvWtLVeE7q2l3D3NCJiWH38735ZKZEVwz/DsJvp0lA+PygWSNRQI9//sm/8N/8RZFWIpZQR/0As0HglOgnk5ka3Uu0phLfGnLWqUxX6axUh6Qt7QXpvOcY7kgTQ4iOoHNTBOKGoPxlq4IL3+yoY51DC9/pdBSJ91JpJ3lVe3qp3OQ2k75ZU6zDaIZFKzfGXRi0MksFwCihhMWhkhLAXF15t+h5eSlKuImnQZqVaFAVAoOcX5VC/w+UiWnuUNpxAAYhVaVP6f3FfPuv6n5Vn80CmpWGw0Y3/BA9jp8O64A2fmg== 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=WYCbDk7p6S7VG72wFUYrnM7UrpfMcW+c+gwp32RQZ8g=; b=Z9RNuV1J4ogyq26iOeBghfnD+R0LZu8AqggB20XIzDyWXRrVCZeHCTWI9BowztT5CcSZDSpDIEFI1j1O5c7hmIN3abrKIazScBcrLnpGA0Pm+0wm7jdW4xpZgDKXor0LiLjHEXKdojleomX63/bqaHPbSy/H+GB8GpxSq2nE6hHTw3YP/gTNv+BSAAkK620PNjw/Td7+qaNsbw05HOoGpUuy5rR2iGjQGj5OE5BU0MY6Dy/RpAYpLwF/q9jhoOr1Fg3hucdg13oOo0IOSHYbxun/gUwf/HlfMPYlv6CZ40urUS2evIoGEDDa8fpL1wFqoz01P/YU09+QYQbga6jujA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WYCbDk7p6S7VG72wFUYrnM7UrpfMcW+c+gwp32RQZ8g=; b=czsiwM6VckGoQY97TPBLSa9vHialTmycxKrD4Hsh1uuoGMeO71tdOkGtqsCaAQHAqf0I+sJCJxSh04YLtXYxuaz1l6R1a32rEnA2sMyeaM/AQr5JDja5FzSjdRgJZ/MTvAck4ecubNVnYbyQEnSkJfFiPv4/D15ABVVDE4Pk2RM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by CO1PR13MB4869.namprd13.prod.outlook.com (2603:10b6:303:f2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Thu, 7 Mar 2024 11:20:41 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::ec12:7411:559a:850e%5]) with mapi id 15.20.7339.035; Thu, 7 Mar 2024 11:20:41 +0000 From: Chaoyong He To: stable@dpdk.org Cc: oss-drivers@corigine.com, Chaoyong He Subject: [PATCH 22.11 v2 0/7] backport patch series from NFP PMD Date: Thu, 7 Mar 2024 19:20:16 +0800 Message-Id: <20240307112023.1867765-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR01CA0045.prod.exchangelabs.com (2603:10b6:a03:94::22) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CO1PR13MB4869:EE_ X-MS-Office365-Filtering-Correlation-Id: b4ad3fd7-1c8f-43ee-f2ad-08dc3e989f75 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U9cyQJYWRsGLhD2k/CkDGKFj9bncvucd2ODIWSq79s9lVLSwE1Tk8b3v+9qWCKsbUEQjWNbEL++4/naTwrK1ePuPXab74S96rcxEo4d+wTv4r6MUDSDQGnNbfO4xIWOuL3oQw8dPMH2BUO0lO2q5Pb6ZPEBDXAXD8PiHWyXUEW2BeBLoutvBLzYpSBQcPbdThFILw8S6dRIqvd2M1t2DmnKd79qi2BLIUYpyAZTBm/mpTKHwYvuIINyHOEbRt/YvvEQ4whYr4YrYUJVHe7r5wWzZjx/y9xNx3G/7H4hbp9fwqdR1kwR5TOGFhuMS046ReiCpddUO0I/g8JTnDbkvFKwtXfXos3AdJ62cbqkeSOquWG5wAx/tBwE5oLN1QHcroeVce+9JEvcmEK9I/NkcpAGExZR+LvYG0HHSf7eBsawh5leypWlCJuhGugm9sqxeyxxe+fIntsLlG4Ueew5b1M726oI+8rf8fohaajx876/UgW2M73H6ZsDpiQ4vxt/vGSHLH47CJ5dyj71bPWIcF3B9FxPaAwWx1NnzX5M7ECgueXUkYlNpdm9w+06YBRxvEmCOv0EbVZQsl4HTNc2dkfib+WotTJqcr5LZ3AIhJZGvYNVC6NQFSWcovMbijittv+RqXHqb8rYy9HYyM+ipGllD6X5D+tJsa6fk/5N910l8xwnaHXb5s2Ti5A4163Rq6LhvqqhrE1oESUQCPzarOg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?6bUfJoP7nj6UHwQFiwPPkR/ZGWeEAa9niyvv7bJfalmpBfkoGyrBC93VRZr+?= =?us-ascii?Q?wAhbVZbtti0WhCo6TxaaAU/JiqC5gwkQM4MCHM9Yps2Vt0ToABwUeNJF1he4?= =?us-ascii?Q?QbnVdUAWhZ4ELEg5EGshc3rEE3cyMO+VfyHfKpW8woOLEpd09t5A2L2g5WXg?= =?us-ascii?Q?CWulKGgy1XQ5uAm0fAa91hPTZVqR6ek+xt/ZBYvojB14BGaK0pOJekELOpuP?= =?us-ascii?Q?iw/pmvN3LLLU5Nv/JSVXxfo5Gff97iqrU8+uEO1OBfpH7QIXPRY+Xn3oQo9K?= =?us-ascii?Q?gSDpkgKJ2Y0QgIIhGGi0uBD4Ow4TvOI0LI+1pnkL6ZSe5jNprx8sJy96kCcD?= =?us-ascii?Q?MLeZkT40bhUo+nRy1/qAxhfxekQjp/ofK93sLaCbn48vaq5diRNrTpxrgPdS?= =?us-ascii?Q?lhiFsx9fUH/BIzQE6O0H3Neo4OFTfNPRG3dv3GJ7iuIgl2trGTsM42XnBMLy?= =?us-ascii?Q?rktJxtjda1lA0BCSvTY7vosr8zlGcI8fEK9qS7npys6L51mPRIVe5DfH1hT0?= =?us-ascii?Q?BbeIu00Wzo0LZXHFa0vj6bFI2dzIsbkMGznXzJwEVqQMwmlxTv+6zz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cXEnxecUPAi7WApBvQd8BDOLUO4+D2J?= =?us-ascii?Q?v6MkvYnpx8JuDjr2nlSYri1iyb/+GKoFb8LS+qoshmAaK6gXiAGwmbAgjzXg?= =?us-ascii?Q?QMR89vy5RBR7r23NjsuwjqcN8RJk1NrPsTZmiBHPLaPh4eRdcmq87I9R1ErB?= =?us-ascii?Q?nw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4ad3fd7-1c8f-43ee-f2ad-08dc3e989f75 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2024 11:20:41.3996 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LKt9NPxAu/95liVuGaisyPiswJFmPF4ONfXcwPLNfBV2aOGIXVdw2vO8lPa0UIv1eTQl8P7FMO3xc66JwCXfeZovdoyJ94bJgU8AwUY6JwA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR13MB4869 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 This patch series include 7 bugfix backport patch from NFP PMD. --- v2: * Fix the loop guide macro in patch 2/7 and 4/7. --- Chaoyong He (7): net/nfp: fix resource leak for CoreNIC firmware net/nfp: fix resource leak for flower firmware net/nfp: fix resource leak for exit of CoreNIC firmware net/nfp: fix resource leak for exit of flower firmware net/nfp: fix device close net/nfp: fix device resource freeing net/nfp: free switch domain ID on close drivers/net/nfp/flower/nfp_flower.c | 71 ++------ drivers/net/nfp/flower/nfp_flower.h | 1 + .../net/nfp/flower/nfp_flower_representor.c | 166 +++++++++++++++++- .../net/nfp/flower/nfp_flower_representor.h | 1 + drivers/net/nfp/nfp_common.h | 1 + drivers/net/nfp/nfp_ethdev.c | 80 +++++++-- 6 files changed, 241 insertions(+), 79 deletions(-) -- 2.39.1