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 AF096A0C41 for ; Thu, 25 Nov 2021 11:21:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0FC84116D; Thu, 25 Nov 2021 11:21:40 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id DF4D840140; Thu, 25 Nov 2021 11:21:37 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1AP7CjUU002883; Thu, 25 Nov 2021 02:21:37 -0800 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2172.outbound.protection.outlook.com [104.47.55.172]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cj5vt0p31-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Nov 2021 02:21:37 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vo7CdXJufJJhJpCSTIFuTdNs/q9S3sxL7HfuBAOy0QiYs+l3CyEARQrKcvNMPayvw6f1k/27rvqS2HzjTyvV+kDTQGVmpHjqlZkJDd4PzOYccg7aD9B+VkGG8eHQRruodm/2gxzh6JGO25BgP04wCT/OpRJeJ7hzgxEgpXsL+0wJKaN2WM2CV69VnvFn8EWMDwbZYmtzeb5cDpe2nzXF+3qhF8gvKBNz3GYlwSD6e2tlEuIKDyqYDhE8PvKRhtEa5PTWw3aDDhK7+TEfKX8DPn4VTNOJ0eNYrIZZ3TvJAlgnqXYW1a3QFbr+K2nqN8QSiE4auimbJzc0CDOrmsqYCw== 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=PrlA2Q28OY1v0TbRdSLWPDBX9tjYp1i73oqP/vGaZWo=; b=hN8cmOScURbiD90r5WxqPVfqrv0LCxJEoqCR52iJVel0/FcCwjQl53Odrd2qIrV2I+N2uAL15pVARD1NZs91ZHJs69+1EhGNZkXfF6j+8IYQemaFlfD8QWVztpOyTnToWkH+eiL9z1mIXZPMiVhQP/ulDP2ackgqe3pk71/lFtmpYec6hUkt2Lv3ijJYcDAZF2WcbX+dIFScjs7ecVEwElFUCXCkmmQ4ZpIWICnf+5nknkjue5o8W5Hp7bbrJ7cj/jufKpK599jrJ1ZlNcpxAlXTpwhTy+A9iM9eRqiY8ifFxZqd5ua6nYsvG7qikEZidERBUYdT8oH1byl4rzVy8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PrlA2Q28OY1v0TbRdSLWPDBX9tjYp1i73oqP/vGaZWo=; b=FM9pwOmv9Ua1BFd1KQkiBW99bynCrVkwCfWdrG443RA0giMEMzSAWAK9BEtQvyM8RSqn85LZ0xvXEx1nHcAc2RtxlTxaEjvzf61255w/8iPfmnUbUbQ3cBBXju1vHQ+1GWLIhTifSvDbaATHnz7HV1icbQmiIeT6STB1oFSJFq8= Received: from PH0PR18MB4491.namprd18.prod.outlook.com (2603:10b6:510:e6::13) by PH0PR18MB4703.namprd18.prod.outlook.com (2603:10b6:510:ca::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Thu, 25 Nov 2021 10:21:35 +0000 Received: from PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::944b:49db:20a2:2d0e]) by PH0PR18MB4491.namprd18.prod.outlook.com ([fe80::944b:49db:20a2:2d0e%7]) with mapi id 15.20.4713.025; Thu, 25 Nov 2021 10:21:35 +0000 From: Akhil Goyal To: "michaelba@nvidia.com" , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Subject: RE: [EXT] [PATCH v2] compress/mlx5: fix double close for context device Thread-Topic: [EXT] [PATCH v2] compress/mlx5: fix double close for context device Thread-Index: AQHX4dUafCXDnGQIOUa4v5jw3Bii76wUCIhw Date: Thu, 25 Nov 2021 10:21:35 +0000 Message-ID: References: <20211125072445.3146615-1-michaelba@nvidia.com> <20211125081829.3149790-1-michaelba@nvidia.com> In-Reply-To: <20211125081829.3149790-1-michaelba@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 192d674c-6355-4bab-d437-08d9affd5be8 x-ms-traffictypediagnostic: PH0PR18MB4703: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YUOXyvXx6UzSk1KZwGmSiVjeby0DU6BC+KS2dLcGC0iSGeCPS3H04Z8oUJSNPaDnVgrx334zqZAxkWRVAJ+s9w+kXHZlCbHWNJUASdCaKggp+VA7iSs0MIwzZJXWRHCOPiCma0824zoQ066zMqbUv5KDiPItU/XENA/d6NHWJ8wegG9HgBxMWtTN0iZGZOtvICR+wLPxFGGsiMg0r1nDwy47E5TV5KcrxvO100ErFDUq3zP98cVuTqyjjjjpf626oHV1N1+4SQJAHC5kMDIbRssuIaXWgi8HWD8liQLiSLJ1jtF2SNDp/OlHX3oFoAAidUlcYgRByFLx5AnhiaWzBDR632v2Oh8iG5C7zGL5fEBgeM+fKTO/8Kk6aihDODpRIA67u26gtJIkAj73nhAHBMEg5Q/KyEnbZQ3/bAMBvLu9yO2TzYmbdJ1SyF5MNfdqQzonJQlenHjyDxZEnGrxnFk7k8MfYax7lu/hssO9150i7gUxwUduLor1ODm9ulkgq3MWmWu1yrA2aaXBAy0B77Epzc6ohPUfx3aX2WyxhDt9gAVTrAEb1+G6aXtoJUJ8n3r34ZCeUAqzpjSolbkUtPEk0eU+hRNGQLuMcDwqqlAAKN+jVRU+jzYiiDaTgN0tVXzDrsoAEfEXc2hVkY3InCkm2K6O8QykSYqyztlauI7qmc/j5Q7yPmDt45oZv/QN4EauiW1nGzDAZOmF0MnNmQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4491.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(38100700002)(33656002)(508600001)(66446008)(66556008)(83380400001)(4326008)(5660300002)(55236004)(2906002)(6506007)(64756008)(7696005)(122000001)(76116006)(26005)(4744005)(8936002)(8676002)(66476007)(55016003)(66946007)(54906003)(110136005)(71200400001)(52536014)(316002)(186003)(9686003)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kVZQuzBH/Gne2rYBOyT8yd+T4zoXTuuEISW0s3dhAI6x5IWGxK1gQxtjZOfv?= =?us-ascii?Q?ExySfeqXmkOAIZEo0M93eZzgJUDW7XX5HqA4V+5O3KGtVA3wAoZxn9PhICQV?= =?us-ascii?Q?PWriCTdFN155FXVmrsdgrJGDVFiLtwMJtJMSpu96QniryNumVaqPd7yC4+tw?= =?us-ascii?Q?z+cnKo7bbhraHC0HqPb6abLSXGU9crvf0w0U2i44kF3hbLeD5I7QEfxfBdrI?= =?us-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xQZqX3vqfwR0QwtjcFQ5CyO8JVlT/50PRrjvO?= =?us-ascii?Q?WqTrHlG7H+VuXPPvf9mVk6Baa8hvwIZACL3WrjpH11nJpSH8XSJYjMlW5r0Y?= =?us-ascii?Q?A6McdI585aZ0toc67ZxTRivn+8R/A/YBr/TuvjLSwTu1Mu9z5cyLVLq1UyJo?= =?us-ascii?Q?K7Fy6PObjAyG2wx332jqaCf7hf4J5ssZGKshbCphDNcsmOteNQ4ltGO4WF+c?= =?us-ascii?Q?kETDw9z2qjtEL/cD5CW37+T7nXOEk3m5H82e6dUwaH3oL+Bb62+gJWXOl+Y5?= =?us-ascii?Q?eXRBfSsL9Xfuvbt3XyP1txQcr+olxLaE8TOCOpj5bYDEFxGGCHqzy5waaWC+?= =?us-ascii?Q?C2tJfFzcH6pFO9xUfYLc9OqcS1gmwOr/gKws1dHGPIj9VzA8nICRryw4RJ3Q?= =?us-ascii?Q?/n0/dqYWWgNtmFZJl5qjV6YN6uYp+Jzv9lm4w1oL6ails+YXZKUjf+MwvOX8?= =?us-ascii?Q?iukGaA4o2WAHhW2Tn6xEXz4LOV7TF4hpEo+fLXy44oCLKLf0z8QMZdyngJDU?= =?us-ascii?Q?LA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4491.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 192d674c-6355-4bab-d437-08d9affd5be8 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2021 10:21:35.1316 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yQ0I2/glO+6GVoasI+7jQQKNi/ls81JVTRLGXt65CSWX2qiRN4imrwYBlAxp5AcKqWF+gFyUWrjuoIzzn+kHCg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB4703 X-Proofpoint-GUID: cJoEkkHmhrYpf207IcBGH9MzfAchtfal X-Proofpoint-ORIG-GUID: cJoEkkHmhrYpf207IcBGH9MzfAchtfal X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-25_04,2021-11-24_01,2020-04-07_01 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 > From: Michael Baum >=20 > The context of the device opens once in the common probe and closes with > its removal. >=20 > If the probe of one of the drivers fails, it releases its resources and > then the common closes the context. > But mistakenly in the compress probe, if there isn't enough capabilities > to support compress operations, it closes the device and then common > probe closes it again. >=20 > Remove the redundant closing from compress probe. >=20 > Fixes: 2efd26544554 ("compress/mlx5: support partial transformation") > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum > Acked-by: Matan Azrad Applied to dpdk-next-crypto Please cc all crypto/compression related patches to me in future.