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 2C802A0C43; Wed, 15 Sep 2021 02:05:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9796B4068F; Wed, 15 Sep 2021 02:05:28 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2088.outbound.protection.outlook.com [40.107.100.88]) by mails.dpdk.org (Postfix) with ESMTP id 1986E4003C for ; Wed, 15 Sep 2021 02:05:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ht0yjYyzE+gfe4DvGCu59xLhdz6AOZowmo4zs0IUIohiCBjKJpcBrpAsonHoYFJ5m4lfq0xYeTIPB7qgNYgPre6haa9JB1W39rPSBeXcteazYHnHGYeBKh8B8lpV0eTNyosH8qo343cMOTGni4xVGO+8PYtK4uYIUb64FGlzoCSeLtc3pCl3TZ/GTNEvSkl69vf7MvGW2IQddnxOEdd/4ACaGTqe2LN2odQSVWOw3lmqNItKB1wzBukfz56LIVDg5ftha1K+KIzvy+Tc6ezZk4y/wi77WW2HKWb4Onix6nSBo+r7R+2mFwDoULaa65LtUdrGV7UVpBnm5IcysiYpvA== 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=7JXEfDJKsHO/5/B+bN5n0o/YmbuMMUhSG/kNuoH39hg=; b=fGylJuFIu145tzTD8264gWYUNvga5Ha11HhlUCC3JtQ9VFs/bREQ14xrwGUc982aqLC4gfQ5LWmD3QgNF9jd5TG4A+b56eFy3TTjNkoWMYeHRfP+NL7/CHJV0aMRg/pNlNfD8+Yo69YCPlZgxsKaRI0nBb08NqpAwz4OqGuxp0aF0ZFZJbIRHeeBASLeAN5PQQgSZd/34xugAeBhwaGB7RItLS9iYeHcb3HrQRpLVZzla/Eoo6WZByYvg4gDEruwvGmDoo91P9btqL2kgS6T2Lj+BZwsfvG9MvcqBnT6RZIvh8xndiqh3I8MkklHbCHQYw9PPjHDpSKDKZOBAf2OQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.36) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=none 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=7JXEfDJKsHO/5/B+bN5n0o/YmbuMMUhSG/kNuoH39hg=; b=n4zI5WjR2xGP+rG8aEvvCgZdJ8pZRBKYWwIUq4qaRuoMox3xJaI0ROG8f27nG4xOLVWEqzORBFcL5Afkx3nCAjtjNj9hPkIO/lnaBuwB0NA793VokcyevpSZ1ISs81CYxDKFhauG8XZplMhKf8ZNb220HcFzUSZmkW0/9ObZe+WAhCKhz/lG5mFsFGoMir2MNwfgPZXv21otvBou42Yuk7hMDu1SO156BX60C2Y3m2ys5KcOORKvvtEh/SbI5nwVmwdBwpHfSynGm0M6OQWGqZDmGck7FNy6wazdm9sQBfFZ8tX7aLUCK9JHIR/+UeiTf+bgrx6YiMWq8NmJQ1T4JQ== Received: from MWHPR17CA0059.namprd17.prod.outlook.com (2603:10b6:300:93::21) by SN6PR12MB2736.namprd12.prod.outlook.com (2603:10b6:805:75::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.17; Wed, 15 Sep 2021 00:05:25 +0000 Received: from CO1NAM11FT030.eop-nam11.prod.protection.outlook.com (2603:10b6:300:93:cafe::7e) by MWHPR17CA0059.outlook.office365.com (2603:10b6:300:93::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14 via Frontend Transport; Wed, 15 Sep 2021 00:05:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.36) 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.36 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.36; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.36) by CO1NAM11FT030.mail.protection.outlook.com (10.13.174.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4523.14 via Frontend Transport; Wed, 15 Sep 2021 00:05:25 +0000 Received: from DRHQMAIL107.nvidia.com (10.27.9.16) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 15 Sep 2021 00:05:24 +0000 Received: from nvidia.com (172.20.187.6) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 15 Sep 2021 00:05:23 +0000 From: Raja Zidane To: Date: Wed, 15 Sep 2021 00:04:59 +0000 Message-ID: <20210915000504.5660-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210912163652.24983-2-rzidane@nvidia.com> References: <20210912163652.24983-2-rzidane@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To DRHQMAIL107.nvidia.com (10.27.9.16) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3887280a-08a8-49d3-55f7-08d977dc84c4 X-MS-TrafficTypeDiagnostic: SN6PR12MB2736: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nV1u3dQ5hTRgw4m/QsRzsfC21xIq7DhO5wk8wudZRHntOQdG6I7rXRIgsLS+hDZZnMPG0TQ5Xo7Pa37ycgqHXXoCUV2tnl3w1kjAi0Mai05vUZ7YFvtTwZybrtWEm4dJpr7epIr3b0fgja6qIRC8rBb1fKrtkAzgaFI93HJH1eCJcoxpiO4+qDM++4XuDuqzmBS3Rqa/Q+OJSvOwkqehTmLt1VL3HQI5VtPAri98OFcB0zefwZ8D0MD4vBD3j76IWeMB16JLjEEvi/V94ApVm0YhCUxrKYKkD1rr6H/wz4g9ajsDp45zTToC1RENrWY3pSc0f8m/JBleqE64+8YwEq7jI33FZZ17nehW2KQa8sseJCUWch+rx8G07z3MEw/Pghlk84li7JkXxIooe/kp22QZBiZuM1wkeiiQWmyfBXQxB55yqV0mKV4fi1O8NAi8RppyCE/rwASJXxRg82XXKqcjYVN96peSxl01IsIyolv5tZ05l1xZ5Vi0Smtfn3KrHwC/TVuxUX7px4mPKQz2OuKfUgdS8JitqgeE0lYW/ObTTpbMAnKhDXBW1V/+1tS0DAXUm+LYR5xYm2Cehjtsze9QSSdCXz3x5DZOAzLXUoTj2/aOjhUNhTJ7jOdE5Oc3xbCAQ41DksyibHjonTF9++EXUGndN08lGxKcrUXtGgI4rv652fXUET5EXFmGSFgUFZ+vm/RZG7xmYsuBdPdz9g== X-Forefront-Antispam-Report: CIP:216.228.112.36; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid05.nvidia.com; CAT:NONE; SFS:(4636009)(136003)(396003)(376002)(39860400002)(346002)(46966006)(36840700001)(2616005)(5660300002)(86362001)(478600001)(47076005)(82310400003)(1076003)(36756003)(8676002)(70586007)(2906002)(70206006)(4743002)(186003)(55016002)(7636003)(316002)(36906005)(36860700001)(16526019)(7696005)(356005)(82740400003)(6286002)(426003)(336012)(83380400001)(8936002)(6916009)(6666004)(26005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2021 00:05:25.2496 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3887280a-08a8-49d3-55f7-08d977dc84c4 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.36]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT030.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2736 Subject: [dpdk-dev] [PATCH V3 0/5] mlx5: replaced hardware queue object 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 mlx5 PMDs for compress and regex classes use an MMO WQE operated by the GGA engine in BF devices. Currently, all the MMO WQEs are managed by the SQ object. Starting from BF3, the queue of the MMO WQEs should be connected to the GGA engine using a new configuration, mmo, that will be supported only in the QP object. The FW introduced new capabilities to define whether the mmo configuration should be configured for the GGA queue. Replace all the GGA queue objects to QP, set mmo configuration according to the new FW capabilities. V2: fix checkpatch errors. V3: rebase. Raja Zidane (5): common/mlx5: share DevX QP operations common/mlx5: update new MMO HCA capabilities common/mlx5: add MMO configuration for the DevX QP compress/mlx5: refactor queue HW object regex/mlx5: refactor HW queue objects drivers/common/mlx5/mlx5_common_devx.c | 144 +++++++++++++++++++ drivers/common/mlx5/mlx5_common_devx.h | 23 +++ drivers/common/mlx5/mlx5_devx_cmds.c | 23 ++- drivers/common/mlx5/mlx5_devx_cmds.h | 13 +- drivers/common/mlx5/mlx5_prm.h | 48 ++++++- drivers/common/mlx5/version.map | 3 + drivers/compress/mlx5/mlx5_compress.c | 73 +++++----- drivers/crypto/mlx5/mlx5_crypto.c | 102 ++++---------- drivers/crypto/mlx5/mlx5_crypto.h | 5 +- drivers/regex/mlx5/mlx5_regex.c | 7 +- drivers/regex/mlx5/mlx5_regex.h | 16 ++- drivers/regex/mlx5/mlx5_regex_control.c | 65 +++++---- drivers/regex/mlx5/mlx5_regex_fastpath.c | 170 ++++++++++++----------- drivers/vdpa/mlx5/mlx5_vdpa.h | 5 +- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 59 +++----- 15 files changed, 461 insertions(+), 295 deletions(-) -- 2.17.1