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 33A5243BBA for ; Thu, 7 Mar 2024 12:03:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 072D0402C2; Thu, 7 Mar 2024 12:03:14 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2111.outbound.protection.outlook.com [40.107.93.111]) by mails.dpdk.org (Postfix) with ESMTP id 1C67D40272 for ; Thu, 7 Mar 2024 12:03:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nlreZBkF3Qt89EIA46GexF15iTXhQUi1codG8dgvzempz+t6SYt8d8MUFajQ71kOz30mIdXH+eXxssle0E7iDGRmw0JDzrVP+5pOXpNbZoe1tw18l7uBU1z7p4XvI81gVBdG9BxcEgfWV20ZtwC82XTh+HcbqTH5DZfUp+mdgpB9xug+Mzbj2GoQtW5IlgY5KXAZQBiko24VOmLN+m36CQIsW3FtiKbf1Io7fTy/cUt+Tma7QSdqISiRYbYdcsiLAVczi2aG7K4HfcMQR2QwpfTx6+6/vKdVZCeG8mFBj43X63YUmkqaG7k2Xc9neIqjUdXM+s1Yb+RSvRxSkKEJgg== 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=dLqcmd9Jgc/Z+wP/H1rYZsE8fhQLQT0cQWP1wKtZrC8=; b=cR2Y+Up2Rlqu+cFMqk4Jzm6xTHhqAnxDPBf8Dsxz+8CY4AGlCfN1sGvHDIKsJ8nxBlBZw3le72K9NLcjdmNzOwV0XsdTFXyvzsK90DncN29+ahJM+rfBTrt5pESi/UYBzNOT+jIM1qe5cCvnw13rLpk9cVspfxXitqv0p5IlnH26LfyciHg5gRzHNB4+v4kJ5ahtzPPIYFC4aoTJ8kFhCen6AeUMevUmqo/3LEYxCi5AF6XQjNQDyS6EFQPCeIvrF4jYqvSmdLzXLWC2d0b4RGT5ximCCB25u+pxZupuh/3etsYALCkOB8cs+ws95Dm8IbOneKiLoCRZ539An0gr5w== 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=dLqcmd9Jgc/Z+wP/H1rYZsE8fhQLQT0cQWP1wKtZrC8=; b=a7cbtYcosxuA8nHq2UV99hgga4WTXigxcJL+OgWwJurjzNj/adZ2vPpc9iuCtThyppVsUCNa0COwOblqIF5WdUsuBA9/8i6qjMTjHCkhVHu/E+kJoSWxyYT5wabaAb6zBApazKlGJu+DJvxoEixxGJ/9KOjsMjLgkHyupyL5eKU= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by CO6PR13MB5370.namprd13.prod.outlook.com (2603:10b6:303:14d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24; Thu, 7 Mar 2024 11:03:09 +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:03:09 +0000 From: Chaoyong He To: Luca Boccassi CC: "stable@dpdk.org" , oss-drivers Subject: RE: [PATCH 22.11 2/7] net/nfp: fix resource leak for flower firmware Thread-Topic: [PATCH 22.11 2/7] net/nfp: fix resource leak for flower firmware Thread-Index: AQHacFRIyRdMXvCKj0O/qp48XJlHZrEsBPIAgAAXHpCAAAE1MA== Date: Thu, 7 Mar 2024 11:03:09 +0000 Message-ID: References: <20240307055639.1626192-1-chaoyong.he@corigine.com> <20240307055639.1626192-3-chaoyong.he@corigine.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR13MB5545:EE_|CO6PR13MB5370:EE_ x-ms-office365-filtering-correlation-id: e6e57f22-eb34-4af7-9f05-08dc3e962cb0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WeIFEOQd2Evs7d5z8ulv1eCoyPTNOYsYFelAvQeIuMANgJJa8WGPohTxaPDaJWIkVk+ao4T53VQ65UUSPnGj+bmgEL5svgPnXX7Ng6Q2HUPzMO6274Ocs7m9eEdLyT2EcnRfEwAK+AEXcY0URHqrSjARhV23b40MEjkM/ImOJqhJFNlJ0lA0DWwApGQLF5ghvHkWCayRv2xKfGrTnQNGTNJ9jV3SkSj0HDGE0tkoxO9rPG9ue3nFBIE4/h647jwWKr/Dl11HyeSwagEkPG7q469gnX3KJWTeUZ54TWREtsRceItMVyhYkLJg9iPZ937WcHLvkZ20t6K6ZjSoimwmyBxhwVMDYbFKau5gCYPR79gn3H5TLMoXOxxOx/fhI7BbS+TeRG3/iAQWgi+NqiZ5kxLvP5GBb+PzSOTQMi5GuxS128WXLB8ERDdtBic4FoLRukyk2DPRNivHgifyG5jPQod/w2Zi3c6mTFngb+5gXJ7hKuMFvx2XCUymRjThuDxQbOMoXymDhIXN2AIFzYBNbjN3uE/TSwXEjxDXk65ubjTKpwscaPIbZbIPezCEDFtou2yEPvvsVsVALi3nY/3PKeGhQl38D9zOxE6/r1/joOv0YAZjWO6jT440gPqMbed/EvZgXfVrmZNf4aZ1KuowuYxrQKt1xvDi2hip96HAR4AE8M0bS14MJTFDIaLY7qSBx0ncfEm7CZYvHgj6u+7J6Zv9+Z0dwyvkgS7dO9+jFcI= 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)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SFk5OWRhUlVSYkxrUUFtOVAyUXI2QnVoU0xIa3B4TGlzOE9nZlk4SGl3ZnFM?= =?utf-8?B?ZUZjYTRSLzBkVVZFWFgrQ2t2V2pDQzZ6dElQU3ZtSmxxSUpvNHlsTmxaY3Zx?= =?utf-8?B?TWRYU0ppUFlQY3BKZlcvQW92cllyWCtIZUEwRll1NzFyNVUva2NZQ25kelYv?= =?utf-8?B?QnNuNzdFR3E0ZEFXbEVjbjBoYTZvUHg4WFUzaGs1TGpQRHhxYUJ5TVZWMTI2?= =?utf-8?B?c2haeGE0ZVUveXN5aTZJd1J2ZVB6QzhaRXNzZzJMSDlqeUZuenFSZnRzZHB3?= =?utf-8?B?Vnk3eTdNNnJRYVZJY09CR3JNUUpIb2g5UFN6dVloZ3pKU1VCSERyaUpUSnY0?= =?utf-8?B?RFE5eG5XNnNNRjZBMHBhTExzQlpqUmlSRnllb3V3MGpRc01zUWFTNmRUMG1G?= =?utf-8?B?Rk1Na3NacXFXbXU2NmZRdFZvZFRuKzErQ1h5NWw0R1FKZGM3Qm1vMVdIR1p6?= =?utf-8?B?eUNMbnNkUmVlNjZ2MVZXK2orNmYxUGpjWXQ2eTRZWVVOSndMY054ZlBlYmZz?= =?utf-8?B?WmtwZi9VNDQzNnJsY2NvL2dWMWIxZGo1aG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zdy9qb0paaHR3aFNFTGNSazRteU5Lc0hmT1ovVEVpS2d3WWVC?= =?utf-8?B?UTJ5K0hhODlOUVA1RStWajRFN2VNY1RSaWZnaS9xcUhjNlFtRmpzckt1bWZJ?= =?utf-8?B?NS9NNlJJbE1Fb0YxRGlLMjZhc0RmVFN2dlRJY1Fob040anhKV2lJbkRBZVg3?= =?utf-8?B?emovKzR2akZlRzh6Vy96OVNHbzBSNFhHRHlmbDU5TWtCR2lPMkJJanVDaTRU?= =?utf-8?B?LzNDdnZOd2tMMkZudGp0Z21vUFRhVjlyOTBNOFUxMUh2UjZKVkhyYjM3RmhR?= =?utf-8?B?cHdLaDhpVkNydE9BTnU3MHRiYzBLNyttc001enB1TkM4RFk3WDcxMWdDcVBy?= =?utf-8?B?T1NneDhQdm1RY2ZtalBWbVhXVE5NUXVWWFkvMk9MT0U1QnBqbm85S3J0QjB5?= =?utf-8?B?emp3RmI0cmJPMTFWQ2VFdERON0Rjd2dhUXBod3pFTmEwS0lFbnc5Qy9uOTRl?= =?utf-8?B?Mk45Q3lVOVZqTjBHZHRCQ210ZkU4K0dNQXRTaGlzaFEvaHNqbEg2TEZjeUs5?= =?utf-8?B?ZnRFT1c3Tmwzdm5EOXh4djBLN0dZakUwWVBsNEdVL08zbnFGWEh2cEpKNGYz?= =?utf-8?B?VWtQY3lNVWtQRGtwajNLK1l2RmJrTitSQmN3ZVBxNGpzbGNrUDRkVDJPbUtp?= =?utf-8?Q?xP6ieN5DzEeCm6/R3ZqI5i1qc?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6e57f22-eb34-4af7-9f05-08dc3e962cb0 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2024 11:03:09.5421 (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: Um8beUrvVGFMAOqSFUqX0b3Me4zn+Ljj1kbHOyvWGMvhsdxlaom3EP56n6BYATQhU4pUgRxqwJCQL5FCFDPV29yhEM7eFfb6QnHOn8cFxNo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR13MB5370 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 DQo+ID4gT24gVGh1LCA3IE1hciAyMDI0IGF0IDA2OjA1LCBDaGFveW9uZyBIZSA8Y2hhb3lvbmcu aGVAY29yaWdpbmUuY29tPg0KPiA+IHdyb3RlOg0KPiA+ID4NCj4gPiA+IFsgdXBzdHJlYW0gY29t bWl0IDdjNTk2NzIxYWU1ZjQxZDFkYmFiOGI5MzZhNDk4MzkyOGQ2YjU2MDMgXQ0KPiA+ID4NCj4g PiA+IEZpeCB0aGUgcmVzb3VyY2UgbGVhayBwcm9ibGVtIGluIHRoZSBsb2dpYyBvZiBmbG93ZXIg ZmlybXdhcmUNCj4gPiA+IGFwcGxpY2F0aW9uLg0KPiA+ID4NCj4gPiA+IEZpeGVzOiBlMTEyNGM0 ZjhhNDUgKCJuZXQvbmZwOiBhZGQgZmxvd2VyIHJlcHJlc2VudG9yIGZyYW1ld29yayIpDQo+ID4g Pg0KPiA+ID4gU2lnbmVkLW9mZi1ieTogQ2hhb3lvbmcgSGUgPGNoYW95b25nLmhlQGNvcmlnaW5l LmNvbT4NCj4gPiA+IC0tLQ0KPiA+ID4gIC4uLi9uZXQvbmZwL2Zsb3dlci9uZnBfZmxvd2VyX3Jl cHJlc2VudG9yLmMgICB8IDg5DQo+ICsrKysrKysrKysrKysrKysrK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