Skip to content

add mlx5 compress PMD

Matan Azrad dpdk-dev 3 versions – Applied

Status from this message: Applied to dpdk-next-crypto

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest11 patches 3 repliesApplied
  2. v210 patches 3 repliesSuperseded
  3. v110 patches 1 replySuperseded

Changes in v3 from the cover letter

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.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/11common/mlx5: add DevX attributes for compressdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h+33 -22 replies
2/11drivers: introduce mlx5 compress PMDMAINTAINERS drivers/common/mlx5/mlx5_common.h drivers/common/mlx5/mlx5_common_pci.c +6 more+378 -190 replies
3/11compress/mlx5: support basic control operationsdrivers/compress/mlx5/mlx5_compress.c+40 -30 replies
4/11common/mlx5: add compress primitivesdrivers/common/mlx5/mlx5_prm.h+39 -20 replies
5/11compress/mlx5: support queue pair operationsdrivers/compress/mlx5/mlx5_compress.c+146 -20 replies
6/11compress/mlx5: add transformation operationsdrivers/compress/mlx5/mlx5_compress.c+119 -20 replies
7/11compress/mlx5: add memory region managementdrivers/compress/mlx5/mlx5_compress.c+22 -00 replies
8/11compress/mlx5: add data-path functionsdrivers/compress/mlx5/mlx5_compress.c+215 -40 replies
9/11compress/mlx5: add statistics operationsdrivers/compress/mlx5/mlx5_compress.c+34 -20 replies
10/11compress/mlx5: support 32-bit systemsdrivers/compress/mlx5/mlx5_compress.c+28 -40 replies
11/11compress/mlx5: add the supported capabilitiesdoc/guides/compressdevs/features/mlx5.ini doc/guides/compressdevs/index.rst doc/guides/compressdevs/mlx5.rst +2 more+136 -20 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchViacheslav Ovsiienko
1/11A-b
2/11A-b
3/11A-b
4/11A-b
5/11A-b
6/11A-b
7/11A-b
8/11A-b
9/11A-b
10/11A-b
11/11A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [dpdk-dev] [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.

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
Signature · 1 line
1.8.3.1