Message ID | 1611142175-409485-1-git-send-email-matan@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 AC905A0A05; Wed, 20 Jan 2021 12:29:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64A7A140CEB; Wed, 20 Jan 2021 12:29:48 +0100 (CET) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by mails.dpdk.org (Postfix) with ESMTP id 09D4D140CD9 for <dev@dpdk.org>; Wed, 20 Jan 2021 12:29:46 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from matan@nvidia.com) with SMTP; 20 Jan 2021 13:29:41 +0200 Received: from pegasus25.mtr.labs.mlnx. (pegasus25.mtr.labs.mlnx [10.210.16.10]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 10KBTfX7001381; Wed, 20 Jan 2021 13:29:41 +0200 From: Matan Azrad <matan@nvidia.com> To: dev@dpdk.org Cc: Thomas Monjalon <thomas@monjalon.net>, Ashish Gupta <ashish.gupta@marvell.com>, Fiona Trahe <fiona.trahe@intel.com>, akhil.goyal@nxp.com Date: Wed, 20 Jan 2021 11:29:24 +0000 Message-Id: <1611142175-409485-1-git-send-email-matan@nvidia.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1610554690-411627-1-git-send-email-matan@nvidia.com> References: <1610554690-411627-1-git-send-email-matan@nvidia.com> Subject: [dpdk-dev] [PATCH v3 00/11] add mlx5 compress PMD 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 Sender: "dev" <dev-bounces@dpdk.org> |
Series |
add mlx5 compress PMD
|
|
Message
Matan Azrad
Jan. 20, 2021, 11:29 a.m. UTC
Add a new compress PMD for Mellanox devices. The MLX5 compress driver library provides support for Mellanox BlueField 2 families of 25/50/100/200 Gb/s adapters. Using the BlueField 2 device, the compress class operations can be run in parallel to the net, vdpa, and regex class operations. This driver is depending on rdma-core like the other mlx5 PMDs, also it is going to use mlx5 DevX to create HW objects directly by the FW. v3: Address Slava and Akhil comments: - Maintain alphabetical order in compress driver lists. - Improve docs \ commit logs with more information. - Fix checkptch warning. - Support 32-bit systems. - Validate primary procces only working. - fix memory leak in error flow of QP creation. - Improve coding style. - Improve operation error report in data-path. rebased code. v2: Add documentation. Matan Azrad (11): common/mlx5: add DevX attributes for compress drivers: introduce mlx5 compress PMD compress/mlx5: support basic control operations common/mlx5: add compress primitives compress/mlx5: support queue pair operations compress/mlx5: add transformation operations compress/mlx5: add memory region management compress/mlx5: add data-path functions compress/mlx5: add statistics operations compress/mlx5: support 32-bit systems compress/mlx5: add the supported capabilities MAINTAINERS | 4 + doc/guides/compressdevs/features/mlx5.ini | 13 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/mlx5.rst | 94 +++ doc/guides/rel_notes/release_21_02.rst | 6 + drivers/common/mlx5/mlx5_common.h | 1 + drivers/common/mlx5/mlx5_common_pci.c | 7 + drivers/common/mlx5/mlx5_common_pci.h | 36 +- drivers/common/mlx5/mlx5_devx_cmds.c | 10 + drivers/common/mlx5/mlx5_devx_cmds.h | 7 + drivers/common/mlx5/mlx5_prm.h | 59 +- drivers/compress/meson.build | 2 +- drivers/compress/mlx5/meson.build | 26 + drivers/compress/mlx5/mlx5_compress.c | 905 ++++++++++++++++++++++++++++ drivers/compress/mlx5/mlx5_compress_utils.h | 20 + drivers/compress/mlx5/version.map | 3 + 16 files changed, 1171 insertions(+), 23 deletions(-) create mode 100644 doc/guides/compressdevs/features/mlx5.ini create mode 100644 doc/guides/compressdevs/mlx5.rst create mode 100644 drivers/compress/mlx5/meson.build create mode 100644 drivers/compress/mlx5/mlx5_compress.c create mode 100644 drivers/compress/mlx5/mlx5_compress_utils.h create mode 100644 drivers/compress/mlx5/version.map
Comments
> Subject: [PATCH v3 00/11] add mlx5 compress PMD > > Add a new compress PMD for Mellanox devices. > > The MLX5 compress driver library provides support for Mellanox BlueField 2 > families of 25/50/100/200 Gb/s adapters. > > Using the BlueField 2 device, the compress class operations can be run in parallel > to the net, vdpa, and regex class operations. > > This driver is depending on rdma-core like the other mlx5 PMDs, also it is going > to use mlx5 DevX to create HW objects directly by the FW. > > v3: > Address Slava and Akhil comments: > - Maintain alphabetical order in compress driver lists. > - Improve docs \ commit logs with more information. > - Fix checkptch warning. > - Support 32-bit systems. > - Validate primary procces only working. > - fix memory leak in error flow of QP creation. > - Improve coding style. > - Improve operation error report in data-path. > rebased code. > > v2: > Add documentation. > Applied to dpdk-next-crypto Send a separate patch for whatever changes you suspect in patch 1/11. I will squash it before the tree is pulled in main branch. Thanks.