Message ID | 20230221070756.3070819-1-michaelba@nvidia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8F20741CFA; Tue, 21 Feb 2023 08:08:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7CEB14315F; Tue, 21 Feb 2023 08:08:14 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2086.outbound.protection.outlook.com [40.107.237.86]) by mails.dpdk.org (Postfix) with ESMTP id 6970E40E5A for <dev@dpdk.org>; Tue, 21 Feb 2023 08:08:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l9niRJ5wzubMHAy7cSm7FXFvuTXjqG+ny2KYa0jRiHBpW+TKpSKSRYVDoGAwNMIjH8TICB2JuzN/rgLws/7MAv7KFAZWl3NMywkXlI0LPoOQxW5NPtyuF6TTQArvetxTaauyciT/vOU/vY6/k+8IQar0LTBXxNIIaAoU+zYZUUtha//+U1dkuV7bZ+GSi6Pe0hoG/0L6mweyUYTi7GSpj10Q1EO7ofd1tDLtc1LvKd3XqKIJylJsV8UTfwng5qcoQS3iK1cMb8WwLM/MWW6KWAWfoCCbRoEvNiiCCy5E0IH/CXPfRHWvXH3OBT1YtH4lA7PjQaXx9bXURQmfMEp8/w== 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=cueFVlrmPEiXJM/EYi/9yQ/YCp3WZ0Q6ZbOIewvg8vk=; b=jO2/ImceyyODrzKfxOKbQzx289OT0fl8TBE33b7V9IQ51dA43KtH2Vf1IXK1vqLv5qQbOtu4qLVUsyeYvKuw+IyHvzHAvHwpAsWDJyhkoxakdRbXcWO92ooLU8ql81cV2jZOIpRJqXMbMCuJtx9AKLJkBNbh5QzLV6H67CVZwO42wl63kPN7vtLw+0j1OVr19QCbfhXlH9VvvPmIkNbI2pnFs/dfGkW/Y9XbB0jyVnpBfhaGCoXn1L/dAeoXG2NpoRit5LREXUe+TgME80kfbauyNuaM5Mrp2YBkyUDyRap/LtFNbYNnVeG/q/8FfNtY+XNv8vggyvi2AZbMBIJTnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=cueFVlrmPEiXJM/EYi/9yQ/YCp3WZ0Q6ZbOIewvg8vk=; b=e76132aOB86TZWGD5PItPF2rCGV7LYp0615Jm1N2xX6eqeEStCWXShf1y32YUfLdi+TJix+4oUY8FMtWakmJdTtmMaIoecL0egbkdnTqtInag6zsR3ZTsP8jh2bc4tnXRyD0CYUlCqHWuj8CUvMNwqMfJaCvSw4aLzTxbEooFVAocZhdQWHLLSiJRqEvU4C+tPGCLeb+RbWeaDo2OddHLcldww0AEhX7GvmHffXO/+kClsXZnME/MeYzTP/ZJAo+toyaoCuiHFdK1VjrJc25jbviMUOSV+hrFoDB+ogQgM1ejVMpDUTTTAhYHS9Q6q9XMUEeVlOfO/xfpm/g5meedw== Received: from MW4PR03CA0197.namprd03.prod.outlook.com (2603:10b6:303:b8::22) by CH2PR12MB4972.namprd12.prod.outlook.com (2603:10b6:610:69::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.21; Tue, 21 Feb 2023 07:08:10 +0000 Received: from CO1NAM11FT054.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::32) by MW4PR03CA0197.outlook.office365.com (2603:10b6:303:b8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.20 via Frontend Transport; Tue, 21 Feb 2023 07:08:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CO1NAM11FT054.mail.protection.outlook.com (10.13.174.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.17 via Frontend Transport; Tue, 21 Feb 2023 07:08:10 +0000 Received: from rnnvmail204.nvidia.com (10.129.68.6) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 20 Feb 2023 23:08:01 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail204.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 20 Feb 2023 23:08:01 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36 via Frontend Transport; Mon, 20 Feb 2023 23:08:00 -0800 From: Michael Baum <michaelba@nvidia.com> To: <dev@dpdk.org> CC: Matan Azrad <matan@nvidia.com>, Akhil Goyal <gakhil@marvell.com>, "Thomas Monjalon" <thomas@monjalon.net> Subject: [PATCH v3 0/8] compress/mlx5: add LZ4 support Date: Tue, 21 Feb 2023 09:07:48 +0200 Message-ID: <20230221070756.3070819-1-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230202162537.1067595-1-michaelba@nvidia.com> References: <20230202162537.1067595-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT054:EE_|CH2PR12MB4972:EE_ X-MS-Office365-Filtering-Correlation-Id: d2d4f041-b635-4c24-fbbf-08db13da6412 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X+NyH3q/8obUIuL8UTNXa02b4MZqmR+LD5eIV62BYXYP67+cUmnI6mZ82VwFff4FE7YrKS4WSyjVDpqKAyw74Rlr0+0kJOvUkig48BpRM/BQfR5wokxxk95MqF1BZZEbZVqD/LIYv5YWm2ucYACHfjbsE/xlMP6tYXlJwRs7u+rRyG5S85IXeMVpjoSunVWes3ZVjMKfu48rZd+pIDuTlf51zb1IVQ90mz9ygKuPXlNySc2QyeWGxeGIW+l4ISmnqm1XlGuKWPVFJlzglHY58chL+2FmmPS52H7H34kWP8GrSPOZgd2JIjNQ1KxCtlAVtO4MZja1K5fgZGm/li46LbdodhEZa6Z7jbToLhUAoNeK6MRScPnqW8gkxzb/y9XEctavUVq5Hejl/UeTQhJgUU4AlH0uzXPKP0CPzypr0I3pObNhjLzFFQ08jmBQt6txoiVD46gErIxIY8uFIDLhsi0kbVCkB4Je8wKXBl5OPX6vM/pLRv9GIhU/bXbWjIkY/luro9jyhJGOez2x8j+45JRKrsYEVhEO+o9cc4pFoTCnLltE6f7iVZGBAIGCycacl3H2YqPgjqHLg80tHQqHbiqSPL714tn4izgf08cQ773azmo5fxB1SJkcaJCHERCLxopiuKL8MzKA9et+C5+GOML5UZRkbCTVHFKv4ZXHOtstu2l/5JGwDUO5kdHByZiCT5h+oeJm9tAujhtzrp2UB/pgs37Sdl1/KbqSux5qf0Qk0Oy2IRuBl6c8gYgLp2Ex X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(136003)(396003)(346002)(376002)(451199018)(36840700001)(40470700004)(46966006)(8936002)(5660300002)(2906002)(41300700001)(6916009)(70586007)(70206006)(8676002)(4326008)(54906003)(316002)(1076003)(478600001)(966005)(7696005)(36756003)(40460700003)(26005)(186003)(6666004)(6286002)(2616005)(55016003)(47076005)(426003)(336012)(83380400001)(40480700001)(7636003)(82740400003)(86362001)(82310400005)(36860700001)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2023 07:08:10.4883 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d2d4f041-b635-4c24-fbbf-08db13da6412 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT054.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4972 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
compress/mlx5: add LZ4 support
|
|
Message
Michael Baum
Feb. 21, 2023, 7:07 a.m. UTC
Add support for LZ4 decompression algorithm for mlx5 compress PMD. Complete the support of compress PMD for Bluefield-3 smart-nic. RFC: https://patchwork.dpdk.org/project/dpdk/patch/20220410182622.8828-1-rzidane@nvidia.com/ v2: - Rebase. - Update PRM names. - Add a new fix at the beginning of the patch-set. v3: - Rebase. - Fix missing "!" in decompress xform validation for null algo. - Change DEFLATE checksum validation for decompress xform. Michael Baum (8): compress/mlx5: fix decompress xform validation compress/mlx5: fix wrong output Adler-32 checksum offset compress/mlx5: fix QP setup for partial transformations compress/mlx5: support new metadata layout added in BF3 compress/mlx5: remove unused variable from priv structure compress/mlx5: add xform validate function common/mlx5: add LZ4 capabilities check compress/mlx5: add support for LZ4 algorithm doc/guides/compressdevs/features/mlx5.ini | 18 +- doc/guides/compressdevs/mlx5.rst | 44 +++- doc/guides/rel_notes/release_23_03.rst | 4 + drivers/common/mlx5/mlx5_devx_cmds.c | 12 +- drivers/common/mlx5/mlx5_devx_cmds.h | 6 +- drivers/common/mlx5/mlx5_prm.h | 56 +++-- drivers/compress/mlx5/mlx5_compress.c | 274 ++++++++++++++++------ 7 files changed, 307 insertions(+), 107 deletions(-)
Comments
> Add support for LZ4 decompression algorithm for mlx5 compress PMD. > Complete the support of compress PMD for Bluefield-3 smart-nic. > > RFC: > https://patchwork.dpdk.org/project/dpdk/patch/20220410182622.8828-1-rzidane@nvidia.com/ > > v2: > - Rebase. > - Update PRM names. > - Add a new fix at the beginning of the patch-set. > > v3: > - Rebase. > - Fix missing "!" in decompress xform validation for null algo. > - Change DEFLATE checksum validation for decompress xform. > Series applied to dpdk-next-crypto Thanks.