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 98F17A0C41; Thu, 30 Sep 2021 07:44:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCC48410EF; Thu, 30 Sep 2021 07:44:58 +0200 (CEST) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2040.outbound.protection.outlook.com [40.107.100.40]) by mails.dpdk.org (Postfix) with ESMTP id 19FF2410EC for ; Thu, 30 Sep 2021 07:44:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZTn+EgLzcJK8gqrHH9uHdY0+wXw0ZiGsZMj8FFhqpXSP/x3h0NfPJa4TLFII0dDleXYIPaei1xxf2P/M0J8dpOepHW2UvHFtq3VKFIGU8Cr00DfxGK5z2FsLQa/E+dxRbfj9sLwWQKJXJxkVTFZE1N/S6NhQWma9yi4q7L/Cyp1Mf8u060EcRuq/HnvsfLEwVyHXwd0aPSwtvVkQNGnS+yvyFIM9hZ7CYzSpAEmsMABHOWsKybK+UfHUrbtdkgtJJ82/6Vs6NELahGNjn6KLIhKTx0JZNM1ijECsmPqZPHzOXhKeLPHINGaA71ZwcnIviBwYB3yJ9XNskTHC50MvbQ== 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=3xiKz3V9mADkOzl4TT9+m1DJ56dFSnpAEqsUsvhQdKk=; b=lKYEjQBMo6fZLNiDPtODsTWe+WWAYQDnT9z0hI3KlOnONluohEP9IpXMqP/w5TiB9G7MDsJv4rUmcTE7TFGgK5QJuTFuaIHFhHlv7J8F4pOz+NixaivTIM3HxR+LKTi99qu5LTKcz/1uz1zG0IUalQ4he2I27mI3sSJnkdcdCsajvOff5183rY5DyIxB0OTBdhVdfpAhxJG7bYljpaEPqlZBorPmG9aCWQEZ/7eVo6vqjFFXR64nNMvXjjKQpy81lLNOuroQlZtvZZGvbMMPPhhl0+2SJUNiy6Og8pI/QXL+HAYKfb4WQGMR2JKztEUWkONvSr/b3OtMj6c+dKC1Qg== 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=3xiKz3V9mADkOzl4TT9+m1DJ56dFSnpAEqsUsvhQdKk=; b=k5ndzGTaLXyPMsM5yVO3Duyq6yLJd5aHIJ6I+9plw7VzH9c4QkicFWQOxUSpW8Ebift2x62TMaOjvA65O2dMPFyQeZ2/S0YE+IBvhOlSHeNeWCA85+hw/HY1/JLE9f6SUcJlMla3PbbdP0BdtXuVDuaTSJAL44LGwKIhWAgKApjfIzo95FIveaIep2Y0UhvsztfROVLSN/l6ZG9PR0yfkhA5mNV21d5kOBAGTmnDgZSdfxJrF5Sb3JT9OjO0v2tXTKopZrYFoP836b8uB3/GOanzjd6SU2uOgirOFqQgRv3ziAaYfWXBZJRowhg+cOG7mJsxTjuPF6bSkkXDkIQYYA== Received: from CO2PR06CA0055.namprd06.prod.outlook.com (2603:10b6:104:3::13) by BN8PR12MB3284.namprd12.prod.outlook.com (2603:10b6:408:9a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.18; Thu, 30 Sep 2021 05:44:56 +0000 Received: from CO1NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:104:3:cafe::84) by CO2PR06CA0055.outlook.office365.com (2603:10b6:104:3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 05:44:56 +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 CO1NAM11FT060.mail.protection.outlook.com (10.13.175.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4566.14 via Frontend Transport; Thu, 30 Sep 2021 05:44:55 +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; Thu, 30 Sep 2021 05:44:54 +0000 From: Raja Zidane To: Date: Thu, 30 Sep 2021 05:44:33 +0000 Message-ID: <20210930054438.5960-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210928121650.40181-1-rzidane@nvidia.com> References: <20210928121650.40181-1-rzidane@nvidia.com> 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: e8df2b24-ba14-4ca8-dd77-08d983d56eaa X-MS-TrafficTypeDiagnostic: BN8PR12MB3284: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1148; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 19dtW05c3Nvdo31JylGfDw17/npWqy8ilxwII+5ZbG7PMt1Xf3jsqJGkqANipuGoJWgztgQIK+pM1ehNon181rlT0Ro5zh1vRz6KjWYPpWm23dY9H0BtklVt1aIRp4/SIxdVWjAn+/nhhfwinHzUMuqVKJEkDFDYngi7m64xzC9Dl2nCOLv76IAurO4XX16WIrKdvtJg67ln0wjbg9s36RDCaci1X5KtSar8mDJW4FOKRstsO07zK1qtrMI6xwWkQ7d+V+kBcsaWTWy10W+wfp1KV2UQ26Qx20W6XKkLw2NqANYIMiwT7wdwSaz1x/rXtKeCfRWe55cwMZoRiOUu3nflfaApo9e9na1D1YHYFCmh0bLI2uyGkZznE7yyqrkv2xymDaN4w+twlfEhuC/xPXNKfpXBrbzAV6mLUjqYAds2HDiozOe1m949IlMwOemMPVmiAv0avqX1gRbOmHpG8hktpJ55lseJJoK2wJRaHdia1H8FidiTSAiznQL0CL9ZdKPXzRn2j+t0B5QjPHFEEEHf6e5Bgx+53sBs3ER9mkS33EJpCjxwTE9/lpRLvvcXtAFnjkhK5+BWfepAYzZE80otlViz6NZ/GI1XTiNpFbFkx6fmeKKegnQmdXUOLqlsfmp/AWgd9m42tJ5lGEdq6WgCiIr91NwQTqVUUylZ4qCmuLyHJqzBp+8of3ePJFS6oUX4NOqehG1H97OFFs6OYg== 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)(2906002)(26005)(47076005)(55016002)(82310400003)(86362001)(6286002)(316002)(508600001)(1076003)(7696005)(16526019)(70586007)(186003)(336012)(36756003)(5660300002)(356005)(70206006)(6666004)(8676002)(8936002)(7636003)(426003)(83380400001)(36860700001)(6916009)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Sep 2021 05:44:55.5281 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8df2b24-ba14-4ca8-dd77-08d983d56eaa 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: CO1NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR12MB3284 Subject: [dpdk-dev] [PATCH V5 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. V4: compilation error in commit 2/5. V5: rebase. Raja Zidane (5): 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 compress/mlx5: allow partial transformations support drivers/common/mlx5/mlx5_devx_cmds.c | 22 ++- drivers/common/mlx5/mlx5_devx_cmds.h | 12 +- drivers/common/mlx5/mlx5_prm.h | 48 ++++++- drivers/compress/mlx5/mlx5_compress.c | 128 +++++++++++------ 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 ++++++++++++----------- 8 files changed, 287 insertions(+), 181 deletions(-) -- 2.17.1