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 3FE22A0C4D; Mon, 8 Nov 2021 13:34:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18AE040E03; Mon, 8 Nov 2021 13:34:22 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2049.outbound.protection.outlook.com [40.107.244.49]) by mails.dpdk.org (Postfix) with ESMTP id 223AA40151 for ; Mon, 8 Nov 2021 13:34:20 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hA6gN/ZkckHPr7J1FkiNlQR14ioMTZZeaRVHMS8WbafCcMVXk4P1ZLEoX2zfI9SVBNjReTOlmIeho4PGlkvGJ+4wQj3YVsayOnt3uetb38b1ldRAwYzf01ztqFfqwPEBE2UO29g+YBZE2yxzZx5RlXyRxo2zH1lghGff3nzUGf9vIruzyBrYe1bln2XvoZZkoJS8R4jL6qm+kkipVA02lj7Ihb2VuwCfuAM482H86WCw6Y8pGm9KpLEQwXnSUJC83o6bNof2nUCeF/iod1gP2P0UIkcrt1dJH/Cq8auG8s4rvLIGMRWBQCWo1kqOODFoqLrYH/MOIv4n3N4qDVpnuA== 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=F881WnxRtY0ouH1heKaZ6sOy0DyfW/WrS966CAVrWGE=; b=ayR9x6tKNhno2c1HHX3sAIwEG4tzEQeC8UbxiqER4J9Q/BUX+0nX/gIH2EI6qA4xjIOfBbh05o5A2/HcbcS3ISNi1fp/ucDfrDoBItqNKBR7Ls2fEOAf4eUd+ywmXzdM6jd4Yvo9UqKaAzsCEUCppaecdkBHiYUymKdOTnGa0hTS/Ss+aujLGjBBwKJcSuheUdD+N2bMvItYxVFJWGcK27+y/gwEpeSBQlp8jeWvMXD3YlYLBJD6eQI7eWbtWezxPnrbWFA6W86CAC25OJ6XtIc15OXloy0Pd1kIjBcpc90b938EAnEe1rxZ3x/fxTCaWLsnTFbZbsiQcNBZHdh+cg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=F881WnxRtY0ouH1heKaZ6sOy0DyfW/WrS966CAVrWGE=; b=A8fu2zrMmINGan1C4GBvWeX3USHT+w0B5tj0O7OSjy2gkHRo3i6z6fkLP29b07FwtJPenNCceUYL219pr1wVYtiQ3y3DEriaaifjoKHoOiWotYAes6NJDqvaxuUo+HnyzynWrdNXkrSiG9ygdTiK7KscjDDNrhTWa6IpBJJTmoNJgN6/ZzsS3XA/AuCpjvhiGan7ngkzra4oIRf1ZY0YHwGMsoBj93F5AP+QWTr+4He+XiF1h5Ltce3Cyx1wgKdIiBXJRTNNZRXbWe0HOUCV5kpnAPColhwCG0flInJ4jKzeHREfjo7t9wnLcr+acpTil3aZZ8Iwt242OuEpwYgM8g== Received: from BN6PR17CA0017.namprd17.prod.outlook.com (2603:10b6:404:65::27) by DM5PR12MB1370.namprd12.prod.outlook.com (2603:10b6:3:76::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Mon, 8 Nov 2021 12:34:18 +0000 Received: from BN8NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:404:65:cafe::93) by BN6PR17CA0017.outlook.office365.com (2603:10b6:404:65::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 12:34:18 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT004.mail.protection.outlook.com (10.13.176.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Mon, 8 Nov 2021 12:34:17 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 8 Nov 2021 12:34:10 +0000 From: Raja Zidane To: CC: Matan Azrad Date: Mon, 8 Nov 2021 12:33:50 +0000 Message-ID: <20211108123354.2194-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211104124929.24899-1-rzidane@nvidia.com> References: <20211104124929.24899-1-rzidane@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 884f43fd-e3a2-4ec3-c327-08d9a2b41501 X-MS-TrafficTypeDiagnostic: DM5PR12MB1370: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:207; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: efvICGGhCQHTF6cX9zjCNDgRyCBgSCYvE071E02+Qytywk7TERtkj4/fPnO0EvWfCCq4pa4Ii+UZbxtwZsqYcSAYyc4RpNtA+qjP5d7shuOAEqL1I5dyoqkZIibrMhODS9gri5iS6MwvqrWew3vji+fqk+qiogkMajtQFHqJFjDXqneAw56zGiMAIXeZgn71gx9M8+AL+SUwh1b9UeJ6Zgb9dUmAMVUBZZYQb9aWbDf98oJsRWki9+TnkVljETrzJikZH8+y1P33WQH/iQMEYQBBtCJi2XWD6uU8kJkN+2pVtGny9gwKZiDxG4HiW6f1As8VgIXt3aVBP8HscGRppU0M5h8QUnEYZpzfMyle9c376DshlHPKLivYtPc3fx4noYd6mk5wULEdRqyTcIwyG08vwTH/DoDAgEXA2CF41E3znJWi4v/dvt7HmPsJcXHEpTL2hkF1V5ZVEaQJJK/Umbaet9w8gU/Uicc7a63giAFvh8YUOd4zGKZtDO17H1kML8nEn70U5trrz2kdsY8KJGDLpLOD1wW9dX/eKk9qdsHSSXR0jfapdDRp0VDqax+yeGkL+wbuDs8ioXZ634I4CRwjVg75WJipjmvq+pqmZiOC3iEjnN5gOrsKf4XXqOfE5xc9Ti455M8pJ67VMCxm406bzkorCO4lPVRmtqghSmtYGA7xaCAMt01ilND/6LTfV14xeh09xgVnK4lXRsEQoSN4bYHs8wD5MUX6ZP3Lyxz0ZQstVcTnp3H7jn3DatjHkEc58veqsRpHw6o7b7qUyOxd9ek87IddgRdzNDDTgqg= X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(6286002)(86362001)(5660300002)(2906002)(7636003)(26005)(186003)(6666004)(7696005)(16526019)(36756003)(4744005)(36860700001)(966005)(508600001)(55016002)(1076003)(83380400001)(426003)(4326008)(8936002)(47076005)(6916009)(336012)(82310400003)(8676002)(70206006)(107886003)(316002)(356005)(70586007)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2021 12:34:17.8206 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 884f43fd-e3a2-4ec3-c327-08d9a2b41501 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1370 Subject: [dpdk-dev] [PATCH V2 0/4] fixes to queue size config 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" fixes series. for vdpa dependent on: https://patches.dpdk.org/project/dpdk/patch/20211027082221.693957-1-xuemingl@nvidia.com/ V2: rebase. Raja Zidane (4): common/mlx5: fix overflows in DevX queues size calculations crypto/mlx5: fix driver destroy before the configuration crypto/mlx5: fix the queue size configuration common/mlx5: fix RQ size configuration in QP create drivers/common/mlx5/mlx5_common_devx.c | 19 ++-- drivers/common/mlx5/mlx5_common_devx.h | 2 +- drivers/common/mlx5/mlx5_devx_cmds.c | 14 +-- drivers/common/mlx5/mlx5_devx_cmds.h | 5 +- drivers/compress/mlx5/mlx5_compress.c | 9 +- drivers/crypto/mlx5/mlx5_crypto.c | 123 +++++++++++++++++++----- drivers/crypto/mlx5/mlx5_crypto.h | 7 ++ drivers/crypto/mlx5/mlx5_crypto_dek.c | 6 +- drivers/regex/mlx5/mlx5_regex_control.c | 8 +- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 9 +- 10 files changed, 144 insertions(+), 58 deletions(-) -- 2.17.1