Skip to content

drivers: introduce mlx5 crypto PMD

Suanming Mou dpdk-dev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v9 Latest15 patches 4 repliesApplied

Changes in v9 from the cover letter

- Reorganize the basic operation commit.
- Move the seesion operation commit after QP patch.
- Fix coding style.
- Move the rel_notes to the last PMD change.
- Move the mlx5 test code to last.
- Rename the driver name to crypto_mlx5.
- Split the MBUF_DATAPAYLOAD_SIZE update out of the series.

Patches in v9 Applied

#Subject and filesSizeRepliesApplied
1/15drivers: introduce mlx5 crypto PMDMAINTAINERS doc/guides/cryptodevs/features/mlx5.ini doc/guides/cryptodevs/index.rst +10 more+458 -100 replies
2/15crypto/mlx5: add DEK object managementdrivers/crypto/mlx5/meson.build drivers/crypto/mlx5/mlx5_crypto.h drivers/crypto/mlx5/mlx5_crypto_dek.c+186 -00 replies
3/15crypto/mlx5: add basic operationsdrivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+99 -50 replies
4/15crypto/mlx5: add queue pairs operationsdrivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+137 -30 replies
5/15crypto/mlx5: add session operationsdoc/guides/cryptodevs/features/mlx5.ini doc/guides/cryptodevs/mlx5.rst drivers/crypto/mlx5/mlx5_crypto.c+133 -40 replies
6/15crypto/mlx5: add memory region managementdoc/guides/cryptodevs/mlx5.rst drivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+72 -00 replies
7/15crypto/mlx5: create login object using DevXdoc/guides/cryptodevs/mlx5.rst drivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+170 -00 replies
8/15crypto/mlx5: add keytag devargdoc/guides/cryptodevs/mlx5.rst drivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+37 -230 replies
9/15crypto/mlx5: add maximum segments devargdoc/guides/cryptodevs/mlx5.rst drivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+39 -40 replies
10/15crypto/mlx5: add WQE set initializationdrivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+87 -60 replies
11/15crypto/mlx5: add enqueue and dequeue operationsdoc/guides/cryptodevs/features/mlx5.ini drivers/crypto/mlx5/mlx5_crypto.c drivers/crypto/mlx5/mlx5_crypto.h+290 -40 replies
12/15crypto/mlx5: add statistic get and reset operationsdoc/guides/rel_notes/release_21_08.rst drivers/crypto/mlx5/mlx5_crypto.c+42 -30 replies
13/15test/crypto: add data-unit and wrapped vectorsapp/test/test_cryptodev_aes_test_vectors.h app/test/test_cryptodev_blockcipher.c app/test/test_cryptodev_blockcipher.h+1351 -10 replies
14/15test/crypto: add AES-XTS multi segment OOP testsapp/test/test_cryptodev_aes_test_vectors.h+64 -00 replies
15/15test/crypto: add mlx5 crypto driverapp/test/test_cryptodev.c app/test/test_cryptodev.h doc/guides/cryptodevs/mlx5.rst+12 -00 replies

Reviews trailers per patch

10 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/15
9/15
10/15
11/15
12/15
13/15A-b
14/15A-b
15/15A-b

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

Read the v9 thread

Cover letter [dpdk-dev] [PATCH v9 00/15] drivers: introduce mlx5 crypto PMD

v2:
- Add data-path part.

v3:
- Rebase.

v4:
- Rebase + Address the following Akhil comments:
- Set HW feature flag in the capability patch.
- Fix mp object release in session clear.
- Some spelling and word missing in doc.
- Squash data-unit adjustment to the session operations commit.
- Wording: device argument -> devarg.

v5:
- Add mlx5 crypto tests into test library.
- Update documentation according to Akhil comments.
- Fix memory region management.
- Fix multi segment case in data-path code.
- Split documentation to the correct commits according to Akhil comments.
- Rebase to new version.
- Change license to Nvidia license.

v6:
- Rebase to new version.
- Address David's comment and update log accordingly.
- Update testing app commits as suggested by Akhil.

v7:
- Rebase to new version.
- Add scatter gather and OOP test cases.

v8:
- Add a test case that was removed by error.

v9:
- Reorganize the basic operation commit.
- Move the seesion operation commit after QP patch.
- Fix coding style.
- Move the rel_notes to the last PMD change.
- Move the mlx5 test code to last.
- Rename the driver name to crypto_mlx5.
- Split the MBUF_DATAPAYLOAD_SIZE update out of the series.

Shiri Kuzin (10):
drivers: introduce mlx5 crypto PMD crypto/mlx5: add DEK object management crypto/mlx5: add basic operations crypto/mlx5: add queue pairs operations crypto/mlx5: add session operations crypto/mlx5: add memory region management crypto/mlx5: create login object using DevX test/crypto: add data-unit and wrapped vectors test/crypto: add AES-XTS multi segment OOP tests test/crypto: add mlx5 crypto driver

Suanming Mou (5):
crypto/mlx5: add keytag devarg
crypto/mlx5: add maximum segments devarg crypto/mlx5: add WQE set initialization crypto/mlx5: add enqueue and dequeue operations crypto/mlx5: add statistic get and reset operations

 MAINTAINERS                                |    4 +
 app/test/test_cryptodev.c                  |    7 +
 app/test/test_cryptodev.h                  |    2 +
 app/test/test_cryptodev_aes_test_vectors.h | 1404 ++++++++++++++++++++
 app/test/test_cryptodev_blockcipher.c      |   10 +-
 app/test/test_cryptodev_blockcipher.h      |    2 +
 doc/guides/cryptodevs/features/mlx5.ini    |   37 +
 doc/guides/cryptodevs/index.rst            |    1 +
 doc/guides/cryptodevs/mlx5.rst             |  153 +++
 doc/guides/rel_notes/release_21_08.rst     |    5 +
 drivers/common/mlx5/mlx5_common.h          |    1 +
 drivers/common/mlx5/mlx5_common_pci.c      |   14 +
 drivers/common/mlx5/mlx5_common_pci.h      |   21 +-
 drivers/crypto/meson.build                 |    1 +
 drivers/crypto/mlx5/meson.build            |   27 +
 drivers/crypto/mlx5/mlx5_crypto.c          | 1175 ++++++++++++++++
 drivers/crypto/mlx5/mlx5_crypto.h          |   90 ++
 drivers/crypto/mlx5/mlx5_crypto_dek.c      |  160 +++
 drivers/crypto/mlx5/mlx5_crypto_utils.h    |   19 +
 drivers/crypto/mlx5/version.map            |    3 +
 20 files changed, 3125 insertions(+), 11 deletions(-)
 create mode 100644 doc/guides/cryptodevs/features/mlx5.ini
 create mode 100644 doc/guides/cryptodevs/mlx5.rst
 create mode 100644 drivers/crypto/mlx5/meson.build
 create mode 100644 drivers/crypto/mlx5/mlx5_crypto.c
 create mode 100644 drivers/crypto/mlx5/mlx5_crypto.h
 create mode 100644 drivers/crypto/mlx5/mlx5_crypto_dek.c
 create mode 100644 drivers/crypto/mlx5/mlx5_crypto_utils.h
 create mode 100644 drivers/crypto/mlx5/version.map
Signature · 1 line
2.25.1