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 B248FA0C4C; Tue, 23 Nov 2021 19:42:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A346840F35; Tue, 23 Nov 2021 19:42:36 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id DCAF24003C; Tue, 23 Nov 2021 19:42:34 +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 1ANAR3iW011818; Tue, 23 Nov 2021 10:42:34 -0800 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3cgug52w8b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Nov 2021 10:42:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NdZduRYq662LfsuA9Hk0iCdFS6PPMzKdRIze/wlZ8bTB75xIQOJwN1zh4hLYuRSr4uU99ngLSD0LA/C8lNLGjvIYzazcokqMHPLnynq+CrqJzQmP/ozUERgVUM8NqtKvReLMNLCKayujUAICRjRIVPpBoDDhDtPq3BYeLuJEQxCMXSOPDqI2XMqVFCJO0brNN9nhhgalofsnK8W9FdRNmn5PFsfd4I4EAiC1Z9tlJLlAQ2ozlAynV59ddmXV2S15p1CtMuU6QRYtIHSB0i/FfVP4yoa1UgiQQabu2emCQXz9dkQpF5pZtoWsfCCQRckRgnS3Yws/FNx6KPLU95DJvg== 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=1cXPqUkjFnadAFI+3GnRi/6WzkeqLDnURaglmDVklxs=; b=EEBLMd2Bz23qcSNd6RmzRHI7u287hfgtRxZBR71z3Qna7vAyeXVk7proD61+uNkVAoEA8tH40HgiWSid7wDc/rD+6qYBExzAbhVCIMj6fZ3Ql//7SRyCBF8knhXdzgYMAbhWj2YG/uT3Eimyre7NUEdmN6zU0nYd7YqLad9DrrmcmKDDVr8BQTFw8kXdQaH54euFqFTh/2gDlFsVOkDFjJRCrZxsASIiiCzDcykjGpXNGS7K3WqFqSHBNkCk41mG4OTNyVv1H6fnHVAItyDdJJWBHmHn9lU7OtP+tBq02pFFxduBpyeJBPjorxmjBMmq+gR1DFt+XUxkEiuvS0Y3ag== 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=1cXPqUkjFnadAFI+3GnRi/6WzkeqLDnURaglmDVklxs=; b=Gl2HFiD5Y5I0EtHaKBeC68UkBz7aMWIL9PCOvp5sqYe+dAORvmaRqU8y00DzMpM90mfd/UUKJpTDBGVtLjx4jSkAqQASrPpEPuVZ+BoxwTJS00wcYOuMlmn9KQayLeBi6dmcnCJspbzpNpMtjEsdL1TMOA3DpHYD5t9nGLrDm2o= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO3PR18MB4960.namprd18.prod.outlook.com (2603:10b6:303:167::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Tue, 23 Nov 2021 18:42:30 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1d9c:3cdc:3142:5095]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1d9c:3cdc:3142:5095%9]) with mapi id 15.20.4713.026; Tue, 23 Nov 2021 18:42:30 +0000 From: Akhil Goyal To: Raja Zidane , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Subject: RE: [EXT] [PATCH] crypto/mlx5: fix max number of QPs capability Thread-Topic: [EXT] [PATCH] crypto/mlx5: fix max number of QPs capability Thread-Index: AQHX3te6halOdW/0uEeVBrVJQWyuAKwRdeEA Date: Tue, 23 Nov 2021 18:42:30 +0000 Message-ID: References: <20211121125943.25821-1-rzidane@nvidia.com> In-Reply-To: <20211121125943.25821-1-rzidane@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: 58436bf8-f950-47e8-5859-08d9aeb10191 x-ms-traffictypediagnostic: CO3PR18MB4960: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TbTXBP3rAlBT3+HtYR539/TxqX+Yu54SqHqErGDh0shYeScivaY88oyLLB09AgAWegsQROM71nwujtRrAfc7ybTCW3ntJIXsdbMGVGKe+3nxwnPKhk8xx+7F4gELH7KKrWFo0tsdTKgtRDavmwWpb3e+vYxaXxa3D9G2moFCG/wM0PvxsXUSEUKjtnC4rW2vExfdacW85CCQU4NGahecjT++w74J3OAO8QgoDLlGdiIL+8ezh9MF56bGxFfu++X+wFITfc62SqPlaUiMkkUv5ClJrbfYGAM2B7lGjo2IR+yQvC08raeMdwlQDANlwi3a7nJUSqx5ztJRUtnN3EJyNXhrbiviAiluYvnITpQGegCeCn7eAm+iZn7FLhz8J7VKPz9LACLlzlMXZs5fY0gpQ3wt8uF7cEfE+ENkXyPwt5QH0LKxQtnVoKvGoFqlKpFu8Da/1mSqMWdpyVjOHVFGV6+X8I+VNcNw+0z97BIjvXIITBR7OSKmydQ/WRL3jkPorjIpqp7K13hyehjNpmyYyw6kkhOmnREal32BtxCmqaxykmIBDAhyaaPYPDqlYjnnRVeinvmK5CKnbkf7F2+5Ob94cKwnDuvNYDwC7QHc7lJwF2spylh9eEuveDZUG1K2j15VDyYYRPJOY4yh44VPbMhcCPP+ZX9644KgBvPh8zmi9yQCF4vcMJ1iyakMQ5S6bn7IMo0VC4tqpjWk4JFK4A== 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)(7696005)(76116006)(38070700005)(26005)(38100700002)(83380400001)(52536014)(6506007)(4744005)(9686003)(54906003)(508600001)(8936002)(122000001)(5660300002)(4326008)(66446008)(110136005)(8676002)(55236004)(186003)(66946007)(66476007)(33656002)(66556008)(71200400001)(316002)(86362001)(64756008)(55016003)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?S9SxJqKJohF0x0Ij8xijfgxPb7FtW9C1X127Atd/lDMAYjj8VbSlWtDg9DjI?= =?us-ascii?Q?R0KKL4Wju6A7/K+wtD7j6Pv+iwAMJS2IndH8+03qT4wZoTba9RLJ5gng3n2B?= =?us-ascii?Q?P13VrLsw8rO9jZvbAsTqpHDg1i+VG13rnb1rNpvxbLSeXkjXEzwKP1UPGz6h?= =?us-ascii?Q?N4m7OCjxXEgvFwBiJbNO5WLdNTrxxMwxexKXuVuhOdyNESJt3lzxum2tFW6G?= =?us-ascii?Q?H1tFI3jFjRVp5rmeM+0t+0LFcGvVQh6UH76HUkp8vTkuhgH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i2W6rehZeYtnfpjRy6E5wMz8to5IVrP3GxNZq?= =?us-ascii?Q?PzZauiG1PBCOPWxK0ylQ8m0+FyCHMvz+B8pjP+ukfr6K4xYEO+wGTjYGcbnl?= =?us-ascii?Q?gI7wRVrHp8/7tsBEsYKkWc5X2beyRAUWZ3hwMLl4rIS0tQMyMOPprWsi9U6Y?= =?us-ascii?Q?PXlSim6PSenAzCzvUMthYpU+Vpde1bM2P8JmAnvbmgN5ZhuK7/MjzZ2JuUVQ?= =?us-ascii?Q?7aLQMN6OGxFwQhVMRQsxqfIWcfUUtrFQ2qkyXrSzBOH7dUoHuhn2ejYRA3ox?= =?us-ascii?Q?XA7PV4bRQzvRN3yNQmN/K+Elp9P524EnGLLCooa701BVq7j7WAwnk97b0PDi?= =?us-ascii?Q?ozvtpq9qcHzX3OxEGjb1VwM1T7+Kt8xH+VunmKfxk6eiZ9FXELKDoHDnVXMi?= =?us-ascii?Q?34AvUmLpK8oaTKZQunOTY4gAo3zVmaObKkJMMH4K2HJvmfujv7FQXj4pAEjt?= =?us-ascii?Q?R2mGvNrafZMjKbFFjHTWoz0=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: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58436bf8-f950-47e8-5859-08d9aeb10191 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2021 18:42:30.7277 (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: SfhaApheLj1D4/HvMlebXxJp1e3GGXvlUu1PepMNwEI4BcDiF0BeqgrcVwN6OKNhpiLtjI8pnTf6ZYzvnmYiUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO3PR18MB4960 X-Proofpoint-GUID: 93q2OA0Kks-yJYYNnVGgkToByp2wCq5D X-Proofpoint-ORIG-GUID: 93q2OA0Kks-yJYYNnVGgkToByp2wCq5D 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-23_06,2021-11-23_01,2020-04-07_01 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 > An indirect mkey is created for each descriptor in a QP, number of > descriptors per QP is configured by the user on QP setup callback. > In mlx cryptodev autotest, the max number of QPs (provided by the driver) > is created, and due to mkey resource limits, QPs creation fail which lead= s > to the test failing. > Since there is no capability of max number of descriptors provided to > the user, we can't give an exact number of max QPs available. > Reduce the max number of QPs to 128, which supports standard descriptors > numbers, including the 4K number provided in the test. >=20 > Fixes: 6152534e211e ("crypto/mlx5: support queue pairs operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > --- > Acked-by: Matan Azrad Applied to dpdk-next-crypto Thanks.