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 5791DA0C5C; Thu, 4 Nov 2021 20:00:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CB5741223; Thu, 4 Nov 2021 20:00:01 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2051.outbound.protection.outlook.com [40.107.223.51]) by mails.dpdk.org (Postfix) with ESMTP id 75C3D411C9; Thu, 4 Nov 2021 19:59:59 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O/VYEENnVXttXvycbUk/KCqbVuXx+Fe+oRLKKcoQQqXYrOKB62BupAOOVz1jldgvKf2ioxPrFnk3PoUyqXCKIF7JRea4QqQEXEqbQ+Zep/tM74T1rp+pX9sjNGVmYCprQ/4vY7duDBAvUsnuAM5UZBG+wXlUZHbeu7HO62eJb5qXPvHyMWf3DN333kU5TwKQV/AW2TwKXF9VdFwpFzpsceoAMCt1Ok9PF/+agsZ7surZq3M4YgUOf0hSE6Zj8Z2gBFDw2ijOk/mKTZd14zGxYc8zTq0S2Oa3BvG6D8CTQYjutl9t0mZr0rHjjA0i1dLsg1cNbppXlypEhNub9U3k5A== 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=skoFAn5WFxJlTG7CFflIBpCc3Oo2uglTXwKjWbD8+Gk=; b=XlHiRGLMpMhiU5bvgWMb1zdYYNhGhrVz4y63STMqEoXfY5abSCHnHC9ka6wnN9YExsQi4bROLbPF47PpoeZIdJAGgjXpk6qaiWgdioecnbECCaUG95t8CruQuVju+OfYTW6agD7zW5rFJCtRvyQ3dbqjOaR4uv6Rl4fySVmlWSVL0LbwV6Vb3CL/2zeF8+q/3Hjb/Fr+KZe3tn7Ng/LsfvmQMCBkZrxn7cOhr9cFxJurWgCcTSPyQD4iUS7WukT/49L4aC8BaiuBQC/wxbLaCJxsqSMOitrvKVAAWmZTCH3cwnhJC6Mf1etKDHjjOatTzdPy+OFLn6nudgSaYKw0rQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=skoFAn5WFxJlTG7CFflIBpCc3Oo2uglTXwKjWbD8+Gk=; b=avzGMsZD2FOA+M//z33WZqV0rXaHegz81H02jiF4ANTpogcbtLbJ9/UtIq23w66Ay6hEzKXPc32ru8D5XIXF0tikABvayPOldRuwIOMUeiKUxJ8dkxA0wP35Rzyt6ekbVOnNYEyI3k/wxe/4Y6Bh5LPeP8CNs3GLzOU362AkMP1CZkoOscrtKnbq/CyQRVPGlQT8M2Z8qL5ssab7LhEYKWbO7uU/JRkAdikgDnyNYebFc47LTd70L6tFawwtj2cmlJeVkAlAcRAK20tEQy1dFtHkdUkqZkovpO1oeAkMx0A4KkSi1B1S0ceMqGlRTPfxqBiWwL4nkXAO6LCUs3Zlzw== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM8PR12MB5477.namprd12.prod.outlook.com (2603:10b6:8:35::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14; Thu, 4 Nov 2021 18:59:58 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::45be:2914:19ef:f4bb]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::45be:2914:19ef:f4bb%3]) with mapi id 15.20.4649.019; Thu, 4 Nov 2021 18:59:58 +0000 From: Tal Shnaiderman To: Raja Zidane , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 3/4] crypto/mlx5: fix the queue size configuration Thread-Index: AQHX0XqLrLdIIipScE6Ul+Ngrd3s1qvzuL4g Date: Thu, 4 Nov 2021 18:59:58 +0000 Message-ID: References: <20211104124929.24899-1-rzidane@nvidia.com> <20211104124929.24899-4-rzidane@nvidia.com> In-Reply-To: <20211104124929.24899-4-rzidane@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c43996ff-9f07-4a93-6191-08d99fc54c02 x-ms-traffictypediagnostic: DM8PR12MB5477: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CbpEB8V5L6VCLCqe4gjafuqRTFuXYBoyUaPc3AuZiRZBB37NwJmyALu0CBtBdslbO/5SLKGYPtbV4xsXw3rPp8SMIA1jYiXpmHE6AnlYRscRSyYk1qo3QMKPMktoN5KGVMhLRl6s9EiYy0giLQucXyQzHga9ILWjzssz78KQhTnALGhnNrZnAS61dfxYM/kHQOhmdZBqDi2SLGp+CNulEFt9o2GdOjxqUJ5s4U3WKp7BFxKdCnvaXdzozIRWU48Z8LQwD9b/TISW8bkfaY9J9wV5/h2yPLracGo3J9lQVlhLpYiQ2jsanrv58IipBTb2985o2ocVFRV9SvIPyvu8VJoMBPJ6f4h4KHtOE/Wp7XYcYs4opkAi3eaw117m1Dk+vGBe/qcgFVNb9nNx+Ue19XPcq81dSoioXFS0x/xhmeJrNW1uCfpaTBtDBR0huZHjB5ySuVKePvKxHeL03F7DUGdy7CSv8q4clEbETguZ1zs645ikwUvGszIWGNNibObjbEh24uCYWjka9noxEYz+JtoaVC2aBue/gkBQVGUoiwpSndHzT9cEvFBITr2ON3Sv5+SP5Iz8OVNFmmHZiwzr4+yzeHYdjczNeb0EZH3TjtkaMk53xrOiSSUp0qAFSvsZzGeMertXIOVtpInuJDhbO4qtFtucgWzJilCR7OccEHs7y4jGnqiMOahuAtbQ5BOj3q4uSuFbuRzwl8U454ho/A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66946007)(64756008)(86362001)(66476007)(7696005)(76116006)(66556008)(5660300002)(66446008)(122000001)(9686003)(4744005)(38100700002)(55016002)(33656002)(508600001)(6506007)(316002)(2906002)(38070700005)(4326008)(71200400001)(52536014)(186003)(8676002)(26005)(450100002)(110136005)(8936002)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7Dp+QiWtRaLonpUGChv9mmn77L7OcQjUw81+4lM0WI9x17PNZ8RcHz9DCWsh?= =?us-ascii?Q?lsl/PHJH7UWqHhqWQohs7mBzcq6WuRUEXCel2u2X7xPBsRg0D14139ZnbZmJ?= =?us-ascii?Q?KCCM+6lZmO1AN1iv2xdRt0NnXvh50fH4cW/+4xK/6dqVm5pG6URq4ut6fNEC?= =?us-ascii?Q?wB4saFmMcV02BW2vYa3W/6tGhaBojeP2haVuSqGtJMEtMtND9Rq7tGaccPop?= =?us-ascii?Q?a4FdKuz4z+1DNs/HnEiPfGLIC9JIzHBsK4skKbQ1tnSLIUpF1bcAT/CZnfZ7?= =?us-ascii?Q?XBnndMGmqxHI17w0mGJJpM1Fqh6w5rw0rCU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?RZBGjcAz86Nu0mlG/tcd+vu5045SnSjU/S5pZatC5DaGzxiy8IEn3u8rFtl8?= =?us-ascii?Q?KabMH2JuaWEyY1Bbp9/0KZFVKo1EI9hOhShJGuN/sLcJsage7l2228J/WXUB?= =?us-ascii?Q?JsnscRikT3/ivy1C2yPVraX0KFK016Gar1Z2eVkQPMNQ4eHrYjG7qRS8Gu9h?= =?us-ascii?Q?+L8WF5YFtaqJ2yfGifsMtvZwKtxlfxLmrdOpKHSz3l3KnNs2/Hj/Je/JNYts?= =?us-ascii?Q?AxH5D2RH+DqzhF6/5OmLLehnOAIH6mOS+MBB/EuV/xRQePlOZ872fPowexmA?= =?us-ascii?Q?b/JypgBoWDRbOOqNzByY/v6EnwkWq5lKNWT3JC+FiHj7cf3tf9Iy05negCTu?= =?us-ascii?Q?2FTYQp/0IHAoz39q+698kpEw5yb2EQFcun+LmPKD2A2hAg0W636akeEhOtBx?= =?us-ascii?Q?xg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c43996ff-9f07-4a93-6191-08d99fc54c02 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2021 18:59:58.0670 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6kpZ4Fs5jQ+SIlPR27ROIsP9yfdFA68MwzTvsD+Awneju7p/zPmuiR9rGFPRWpGRHjHrARfvSyuh6NXufkywVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5477 Subject: Re: [dpdk-dev] [PATCH 3/4] crypto/mlx5: fix the queue size configuration 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" > Subject: [dpdk-dev] [PATCH 3/4] crypto/mlx5: fix the queue size > configuration >=20 > External email: Use caution opening links or attachments >=20 >=20 > The DevX interface for QP creation expects the number of WQEBBs. > Wrongly, the number of descriptors was provided to the QP creation. > In addition, the QP size must be a power of 2 what was not guaranteed. > Provide the number of WQEBBs to the QP creation API. > Round up the SQ size to a power of 2. > Rename (sq/rq)_size to num_of_(send/receive)_wqes. >=20 > Fixes: 6152534e211e ("crypto/mlx5: support queue pairs operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > Acked-by: Matan Azrad Acked-by: Tal Shnaiderman