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 1B926A0C54; Fri, 3 Sep 2021 16:22:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DE00410D7; Fri, 3 Sep 2021 16:22:17 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2047.outbound.protection.outlook.com [40.107.93.47]) by mails.dpdk.org (Postfix) with ESMTP id 67E4B40E3C for ; Fri, 3 Sep 2021 16:22:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FQjaBqblrINsvaGEzefu3EEiD+gErP9WZPDtWe4+YGbxlmfSQFeLuKJjSDkOPG16wJveX0C0tjArTjI/Ctbzn2qT6VJoGVwNwJXeUqetyLycQYH7YXaS7S3t7GA9na4zFgbRAkNO/9zL9M2XePpnr44pam57cfOZEj3bAhX84MVsiSM3M5L8RxNfJokUtgMnrwpF5aspnKX0O41TY25hncXAy1rnZjDio2IkWYbdOj4M/xgoW41lBhDIv38hwMnW+2ooLrxc2fFtLhADuUm57U0AnTzXUJFdQWb+ij8Ph3VIneFrYI8Jvnw2I1mgOgoS+hBhovHxthXk5w/uoDeP9Q== 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=gJtObFq9Apgng7qTv4K0XVra6C95AM0Swz9hGF+GrJ4=; b=e6o7qerqTliZsKQCulxZooQtR5C3TzGAyde+1xlTWeyQJJ8OXhytIi/qKjyx9/pXr7tCsw3hpJQIkBGtLnooApYJOE+4tEncB22h5T/c/qnsqhyX7FWmABfKdiLO7XXc9XJwyo/jYmKI8c+Lz/WM7QBntwyvqITsh/Am127W8OfkZEIcU/+uoDQw+oy/np64cbzVVoyWnyl73gvIdylJCD2XJWmGqVk9N8RQdPjgYB3F/uWRTFXZLI5Gsdzx3ZvDgxxLsGTiiQVeJw/IQ07wDaUNrUbhlTyhDGjQ1lPflFYL8Vl8VmJeJCXf/7DQJByPntTB3sMuNwaAPmuAjV55+g== 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=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=gJtObFq9Apgng7qTv4K0XVra6C95AM0Swz9hGF+GrJ4=; b=SuSjjmnGRWxG/AVJp9ba+buieSBbr62ztNlBW/1GtFj71t1TnwP7QJdfHnkCdFY6vo2934EGj/9Qy7oPn+EWJQtNaIm1qg8d6kjgM7pwVaBU2hNOGsKgs/NPK/H7ecW0dMKTOJserxA4t1SiVa4tUORfJC3tpc3bjFdJbGhYuceycaU482xsEXVDN0h5ikV9IPla8nJxyS6OBc6wD2gnKLwUg6kum/p04m0Xu1ELPRRZNnSsf1X0ftpnmJ/DvMCCm6XDCYUCzPHIJUkfcA1EGPAiTTEoSk/yeswh/lVrLnDiKAh5/CxuuqcISEjXWRRsHLi3Ix2wd1CZC7DwgyhZgA== Received: from DM3PR12CA0100.namprd12.prod.outlook.com (2603:10b6:0:55::20) by MN2PR12MB3101.namprd12.prod.outlook.com (2603:10b6:208:c4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Fri, 3 Sep 2021 14:22:14 +0000 Received: from DM6NAM11FT054.eop-nam11.prod.protection.outlook.com (2603:10b6:0:55:cafe::e0) by DM3PR12CA0100.outlook.office365.com (2603:10b6:0:55::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Fri, 3 Sep 2021 14:22:14 +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 DM6NAM11FT054.mail.protection.outlook.com (10.13.173.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4478.19 via Frontend Transport; Fri, 3 Sep 2021 14:22:14 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 3 Sep 2021 14:22:12 +0000 From: Raja Zidane To: Date: Fri, 3 Sep 2021 14:21:52 +0000 Message-ID: <20210903142157.25617-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3ac716a4-6243-4c1d-b77d-08d96ee63a00 X-MS-TrafficTypeDiagnostic: MN2PR12MB3101: 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: AWDsT9AUlfuLyH2IXMfVY1DeOLr5w0NGYCSi6pmKp+WS/2Kr09FU+rEVkKId+yXTwP3stR4ZrHe/ZGqecYzJHkZwo2FtUlhhAMrPxg1VDZ1HbTjfLUUlT1pOMYNHZF2FQ0f3mDVAtI3zU44NcvyfKEy3qdVE6o5oeaX0Q/FcSwrQZn3VmHPNwCqN0/7PXaB8GrQ4QC5wsT9sIE6ltgqZkpG/yO5PNeig6AveDnbrlshbxWq4rg0URdRmKDFGJZYj498DfDlXxnLgYtw8iNanAFotm8mnffj+YDXlEfVJ3L7105oqqN6dKX/FYFHhTRG3xkOqnmsC7Ela5TbJQ+OfLPpuzeRWVLz/UGM5Dg3IQuuULIT900weKyp9IGjlvh28Za6iFX6fYG070vyg5jYGxTQZX1WE5QjQuYNdRBCJ0LxqbUWS6HxacUYV71YwnPAizcEIOjzXMGYA83ymFcHPJMosPpjmgxYA6jhJe++NC6od60m2XOi6xBzczGosW5AMD8kB1DP/qX95UmY5WEc45croWgnMt87ff+Bsq/UhYcpL7Ffn7aYuPBshWXqhSauzvy9LaO0fI9aMKc7brBioE4VxXR/g39w+wSUqDzlc+CMk3Ncnd4YdI2oqo/sN9hgSzhkuCRdVMKqHLMPA0bB6/jbAWv9KllECdoH/aT+UZfpdmt3KoERlC/0RrkgfQrFwSZ36AmW6R9wNj6f/9hesMw== 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)(346002)(136003)(376002)(396003)(39860400002)(36840700001)(46966006)(478600001)(6916009)(316002)(356005)(36756003)(86362001)(6286002)(36860700001)(55016002)(5660300002)(336012)(16526019)(26005)(186003)(70206006)(70586007)(426003)(6666004)(7696005)(2906002)(2616005)(82310400003)(1076003)(83380400001)(8676002)(82740400003)(8936002)(7636003)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2021 14:22:14.3315 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3ac716a4-6243-4c1d-b77d-08d96ee63a00 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: DM6NAM11FT054.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3101 Subject: [dpdk-dev] [PATCH 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. 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 | 17 ++- drivers/common/mlx5/mlx5_devx_cmds.h | 13 +- drivers/common/mlx5/mlx5_prm.h | 47 ++++++- drivers/common/mlx5/version.map | 3 + drivers/compress/mlx5/mlx5_compress.c | 71 +++++----- drivers/crypto/mlx5/mlx5_crypto.c | 96 ++++---------- drivers/crypto/mlx5/mlx5_crypto.h | 5 +- drivers/regex/mlx5/mlx5_regex.c | 6 +- drivers/regex/mlx5/mlx5_regex.h | 16 ++- drivers/regex/mlx5/mlx5_regex_control.c | 64 +++++---- drivers/regex/mlx5/mlx5_regex_fastpath.c | 159 +++++++++++------------ drivers/vdpa/mlx5/mlx5_vdpa.h | 5 +- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 53 ++------ 15 files changed, 435 insertions(+), 287 deletions(-) -- 2.17.1