[dpdk-dev] [PATCH v2 0/4] AESNI GCM PMD: Migration from ISA-L to Multi-buffer library

Pablo de Lara pablo.de.lara.guarch at intel.com
Wed Jun 28 13:32:26 CEST 2017


AES-NI GCM PMD migrated previously from Multi-buffer Crypto library to ISA-L Crypto library,
to support several features that were not supported by that time, such as GMAC algorithm
and Scatter-gather list.

Since version 0.45, Multi-buffer library (https://github.com/01org/intel-ipsec-mb)
supports all these features, the PMD can link against this library again (version 0.46 now).

This will improve maintainability, as now AESNI GCM PMD will share the same library as
AESNI MB PMD, having one less library to link against. It also adds support for 192-bit keys.

In terms of performance, it has been improved, especially for some architectures.

This patchset is migrating the PMD to link against Multi-buffer library v0.46.

Changes in v2:

- Supported Multi-buffer 0.46 library
- Added new tests to other PMD testsuites
- Rebased against latest dpdk-next-crypto code

Pablo de Lara (4):
  crypto/aesni_gcm: migrate to Multi-buffer library
  test/crypto: rename some tests
  test/crypto: add AES GCM 192 tests
  test/crypto: extend AES-GCM 192/256 to other PMDs

 devtools/test-build.sh                           |   4 +-
 doc/guides/cryptodevs/aesni_gcm.rst              |  18 +-
 doc/guides/cryptodevs/features/aesni_gcm.ini     |   4 +-
 doc/guides/rel_notes/release_17_08.rst           |   8 +
 drivers/crypto/aesni_gcm/Makefile                |   9 +-
 drivers/crypto/aesni_gcm/aesni_gcm_ops.h         |  97 ++++-
 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c         |  98 +++--
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c     |  18 +-
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h |  32 +-
 mk/rte.app.mk                                    |   3 +-
 test/test/test_cryptodev.c                       | 497 +++++++++++++++++------
 test/test/test_cryptodev_gcm_test_vectors.h      | 357 ++++++++++++++++
 12 files changed, 922 insertions(+), 223 deletions(-)

-- 
2.9.4



More information about the dev mailing list