Skip to content

mlx5 common part for crypto driver

Matan Azrad dpdk-dev 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest15 patches 1 replyApplied
  2. v216 patches 6 repliesSuperseded

Changes in v3 from the cover letter

Squash fix commit to the one before it.
Change get IB device function name.
Rearrange common version.map file.
Moved class definition to the driver seires.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/15common/mlx5: remove redundant spaces in header filedrivers/common/mlx5/mlx5_prm.h+155 -1790 replies
2/15common/mlx5: update GENEVE TLV OPT obj namedrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_prm.h+3 -30 replies
3/15common/mlx5: optimize read of general obj type capsdrivers/common/mlx5/mlx5_devx_cmds.c+16 -50 replies
4/15common/mlx5: add HCA cap for AES-XTS cryptodrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h+9 -10 replies
5/15common/mlx5: support general object DEK create opdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +1 more+140 -240 replies
6/15common/mlx5: adjust DevX MKEY fields for cryptodrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h+20 -10 replies
7/15common/mlx5: support general obj IMPORT KEK createdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +1 more+82 -00 replies
8/15common/mlx5: support general obj CRYPTO LOGIN createdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +1 more+89 -00 replies
9/15common/mlx5: add crypto BSF struct and definesdrivers/common/mlx5/mlx5_prm.h+66 -00 replies
10/15common/mlx5: share hash list tooldrivers/common/mlx5/linux/mlx5_common_os.c drivers/common/mlx5/linux/mlx5_nl.c drivers/common/mlx5/meson.build +15 more+465 -4270 replies
11/15common/mlx5: share get ib device match functiondrivers/common/mlx5/linux/mlx5_common_os.c drivers/common/mlx5/linux/mlx5_common_os.h drivers/common/mlx5/mlx5_common.h +4 more+40 -870 replies
12/15common/mlx5: support general obj CREDENTIAL createdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +1 more+91 -30 replies
13/15common/mlx5: add crypto register structs and defsdrivers/common/mlx5/mlx5_prm.h+41 -00 replies
14/15common/mlx5: support register write accessdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/version.map+70 -20 replies
15/15common/mlx5: add UMR and RDMA write WQE definesdrivers/common/mlx5/mlx5_prm.h+121 -660 replies

Reviews trailers per patch

14 of 15 patches have a Reviewed-by or Acked-by.

PatchMatan Azrad
1/15A-b
2/15A-b
3/15A-b
4/15A-b
5/15A-b
6/15A-b
7/15A-b
8/15A-b
9/15A-b
10/15A-b
11/15A-b
12/15A-b
13/15A-b
14/15A-b
15/15

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/15] mlx5 common part for crypto driver

The crypto PMD will be supported on Nvidia ConnectX6.
The crypto PMD will add the support of encryption and decryption using the AES-XTS symmetric algorithm. The crypto PMD requires rdma-core and uses mlx5 DevX.
This is the mlx5 common part that added support for DevX commands needed for crypto driver. Also includes PRM definitions.

v2:
Add data-path part.

v3:
Squash fix commit to the one before it.
Change get IB device function name.
Rearrange common version.map file.
Moved class definition to the driver seires.

Dekel Peled (12):
common/mlx5: remove redundant spaces in header file common/mlx5: update GENEVE TLV OPT obj name common/mlx5: optimize read of general obj type caps common/mlx5: add HCA cap for AES-XTS crypto common/mlx5: support general object DEK create op common/mlx5: adjust DevX MKEY fields for crypto common/mlx5: support general obj IMPORT KEK create common/mlx5: support general obj CRYPTO LOGIN create common/mlx5: add crypto BSF struct and defines common/mlx5: support general obj CREDENTIAL create common/mlx5: add crypto register structs and defs common/mlx5: support register write access

Shiri Kuzin (2):
common/mlx5: share hash list tool
common/mlx5: share get ib device match function

Suanming Mou (1):
common/mlx5: add UMR and RDMA write WQE defines

 drivers/common/mlx5/linux/mlx5_common_os.c   |  30 +-
 drivers/common/mlx5/linux/mlx5_common_os.h   |   5 +
 drivers/common/mlx5/linux/mlx5_nl.c          |   2 +-
 drivers/common/mlx5/meson.build              |  15 +-
 drivers/common/mlx5/mlx5_common.c            |   2 +-
 drivers/common/mlx5/mlx5_common.h            |   1 +
 drivers/common/mlx5/mlx5_common_devx.c       |   2 +-
 drivers/common/mlx5/mlx5_common_log.h        |  21 +
 drivers/common/mlx5/mlx5_common_mp.c         |   2 +-
 drivers/common/mlx5/mlx5_common_mr.c         |   2 +-
 drivers/common/mlx5/mlx5_common_pci.c        |   4 +-
 drivers/common/mlx5/mlx5_common_utils.c      | 221 +++++++
 drivers/common/mlx5/mlx5_common_utils.h      | 202 +++++-
 drivers/common/mlx5/mlx5_devx_cmds.c         | 312 +++++++++-
 drivers/common/mlx5/mlx5_devx_cmds.h         |  66 ++
 drivers/common/mlx5/mlx5_malloc.c            |   2 +-
 drivers/common/mlx5/mlx5_prm.h               | 610 +++++++++++++------
 drivers/common/mlx5/version.map              |  66 +-
 drivers/common/mlx5/windows/mlx5_common_os.c |   2 +-
 drivers/common/mlx5/windows/mlx5_glue.c      |   2 +-
 drivers/compress/mlx5/mlx5_compress.c        |  30 +-
 drivers/net/mlx5/mlx5_utils.c                | 209 -------
 drivers/net/mlx5/mlx5_utils.h                | 194 +-----
 drivers/regex/mlx5/mlx5_regex.c              |  30 +-
 drivers/vdpa/mlx5/mlx5_vdpa.c                |  32 +-
 25 files changed, 1337 insertions(+), 727 deletions(-)
 create mode 100644 drivers/common/mlx5/mlx5_common_log.h
 create mode 100644 drivers/common/mlx5/mlx5_common_utils.c
Signature · 1 line
2.25.1