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 AF7F9A0548; Fri, 24 Sep 2021 19:50:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C1704131E; Fri, 24 Sep 2021 19:50:56 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 859BB41305; Fri, 24 Sep 2021 19:50:55 +0200 (CEST) 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 SMTP id 18OFaWHW011076; Fri, 24 Sep 2021 10:50:54 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2175.outbound.protection.outlook.com [104.47.58.175]) by mx0b-0016f401.pphosted.com with ESMTP id 3b9hf50e7s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Sep 2021 10:50:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NpFPva7wHu7GuIqOMjp0BdjDlSigggXekGpQ0FEetSgMDt9W5gbzR2nk2cy6Qd6eQ9Bw+k/h7eQGcF0tFUNBSeED4absT3hG+IooBQWZrkiHoWAh15z1E3e7L/xRq6Rr0kqIECQ150S2+4tiKHEEGIAUEzN3E1fD5bXFZCYzg7Hjji6R+ZR/4XUBXi4Odjm5ZMcbEP7JBw+ugErybVsuP+uMGq3HFhXeq8JMchXTUr3mxsAIVHUurmkoa0lTfaEdjgqgQQ5bI3ztmzAbwa+hXukacasINV8mKvBeJBuNZmuId1+zsg1zmVkDxFM1MhrEssgJM6YBVlW6KET7vHbFiw== 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; bh=jNnuhLvsAYNVjebrcWzs2SZmWI6V0yi7/71skaZYZDA=; b=QUQBH4TK+etNbuSiKORybQDhjlk1BBTu9urAtANMzRIq6mH8pXb+xnwKR8/JnqyrCbR3K0QWU/gOH6rnLvzsn5rmaqP60nsGLGVd5MUTZUbd+1F1gNjW2/cRgyFeL9aJc+Pc8fkpbAzMWgE02sfsMPk1Q1x7b00MykBolCE9cctpQDN5hrkuUyxl1soedtRPX62JULegShs8Aa+MgtqSpXl3qosUvAvxQAkfnBJcILDPYB2sNxc6iq19HzFQXIXk2EivlIfjkv6ipgzFlUPJ7lEa9haFQEL0f4NbsO6aIIRziXWgzZ6pmnsVImlj/iBsRZGqXW3RaZ+U9N4DNUcvfg== 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=jNnuhLvsAYNVjebrcWzs2SZmWI6V0yi7/71skaZYZDA=; b=WlblUk0AVCv3096/xZQnQ04gUveAgkkbA2Ep3+Q1nlq0H/9fnVsRPGSmMls0ZhoDJLO3dh5XDRXhQG0Ihc35tq3O6XuRTtQNpq0if+iGIi1UBeAR8g/IrurLAGg99s25zX9qWNcX477BRo5b+NtoJ33dNO73RSXfrTpLYFq5Sw8= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4401.namprd18.prod.outlook.com (2603:10b6:5:35e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.14; Fri, 24 Sep 2021 17:50:52 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::6c43:3807:160:5a94]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::6c43:3807:160:5a94%3]) with mapi id 15.20.4544.018; Fri, 24 Sep 2021 17:50:52 +0000 From: Akhil Goyal To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [EXT] [dpdk-dev] [PATCH] crypto/mlx5: fix indirect mkey cleaning Thread-Index: AQHXqNQCPsTmHNcHDkKenzu1BYwu4quzh66g Date: Fri, 24 Sep 2021 17:50:51 +0000 Message-ID: References: <20210913191646.612617-1-michaelba@nvidia.com> In-Reply-To: <20210913191646.612617-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: e286dd47-cd30-4baa-8585-08d97f83d9bc x-ms-traffictypediagnostic: CO6PR18MB4401: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NxHXWQ6ZbgpQ1Vn1UbO2FoHgRMcPxLa1EurgxIfyVxz1pz1GiJQZnaBxvUQBjFCC+mhhUnIzjRL94+ZfqtGmAuFi8OtA/MCJWDOScCewmrXcUBZbaLcdYUJQm0xiyL5woB3LrQ4bHkI6nKHkIZzBUdO6WhWIhqiBj4FbdxdUEUO8lBlJhxQAyh9TiJ5UBxj6lbVhTl14GPisVKJh7eQCbB5xYfta/3E1nxYQ/3VfK1ZgrI5q/r0+VVTPFX/KzTstItF7DBJjVpbXEcn+VDf82pYCQOcAHXygOfqJWDmdpG5TzEvnTfBiCCCjT5hyAt7e/yUnge1Q1JKOrpMIuhUCN6dQ3pMFQ/8nSNO3gTfcuAothY8j+J9IoT9ICM25C4HYUyU10vzTqOUcC7bQf1+FcEg/xRGVo2yNnw+SHexzQNDJVAWsTzpNoesK+LD8CXUrIW5FZFEyySo2/X1mrAEbOTm8UHlswJyd2/G8Ab3GOB5z5uwbhosOm/hz++z1S7Aum0z6G3lngBqFds/wjRf4OqT2Gct9P7L9fYlnOCx6krscG/2RrebOtM6VWi/LoVrpzDN4AmjvVRDgEDExHwKMGYIeorN15SJ8Tx+q2M1CpiXwJd2LjQvKX1+UBnpK3h1S1NswqZ5Lxj0Me42A36gOj3mH5HfXeEv4WLGsUStJcU/up7twzgIoS9wMsHAHskERPMISDmJLHDho8hMzv0VZ5w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8936002)(66476007)(52536014)(33656002)(26005)(66556008)(66946007)(8676002)(71200400001)(55236004)(186003)(4744005)(7696005)(64756008)(66446008)(5660300002)(55016002)(9686003)(316002)(508600001)(38070700005)(2906002)(4326008)(76116006)(6506007)(54906003)(110136005)(38100700002)(122000001)(86362001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1vnWKzjzeEoUGiCLLvsQiHLWikBaN2HXDI2Yk9/5buwNxI15K/jrqugx3QO8?= =?us-ascii?Q?IMmTG7vJYCdlhbrv1Q6wmD+YvK/Vx/uLGj2tVSXPq7TIvXq9/G9qQBNFqtw4?= =?us-ascii?Q?GqdOCVaQ/yuH3r6qEdxsZqJ0bRqLM7ESuTvcb2vtaNRpYiF3befjjxFGAESV?= =?us-ascii?Q?4fCT/CJ2wBmo5YBXEpuDyepaTg2RCK/MPrWn3uHIMfFD8pHsJmgPee+YhEMf?= =?us-ascii?Q?wPVXjrxAEF9JczjDcb3m4n/H95tVqDxwygCxsgwjpqUutF8topKJvbUUS7Ob?= =?us-ascii?Q?dsVyHBUv0zxVmbQ+6/xk2tSFW3lOkgOZTYShHIi2uvoTvt2uJ7CPHz3OnF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fg6fI8n4m3HRXeqA4h?= =?us-ascii?Q?8P5PfPho8arpKccXZkYS2p3kGAoyXUNN4JSNKciCIvW6jVTub5TDXpq6fpnq?= =?us-ascii?Q?tvvIwX7ZJVkbB17ncMIviU8v?= x-ms-exchange-transport-forked: True 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: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e286dd47-cd30-4baa-8585-08d97f83d9bc X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Sep 2021 17:50:51.9094 (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: djoc1zax2y6oYUJWv2jzuX7sFedjjuMCPgNHDgxW6bvvKXM1mNTnhmzZrfWX6qKR1ucNNtPIQaVncfY9rOVrmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4401 X-Proofpoint-GUID: Dl-R6876asCAAE8t6w5hJoNp-pq9VQYg X-Proofpoint-ORIG-GUID: Dl-R6876asCAAE8t6w5hJoNp-pq9VQYg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-24_05,2021-09-24_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH] crypto/mlx5: fix indirect mkey cleaning X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > The driver creates an indirect mkey per entry in the queue to manage the > crypto operation using the BSF fields. >=20 > The indirect mkeys were never released neither while error occurs in the > creation phase nor when the queue is released. >=20 > Clean the indirect mkeys in the above cases. >=20 > Fixes: c2a42d19d967 ("crypto/mlx5: add WQE set initialization") > Cc: stable@dpdk.org >=20 > Signed-off-by: Michael Baum > Acked-by: Matan Azrad Applied to dpdk-next-crypto