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

Pablo de Lara pablo.de.lara.guarch at intel.com
Fri May 26 12:16:04 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.

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, there is a marginal difference between those libraries,
within a 0.5% difference for several buffer sizes.

This patchset is migrating the PMD to link against Multi-buffer library v0.45.
The next version will be released in the coming months, which contains
some improvements and API changes, so this patchset will be rebased to
support it, if it is released before the merge deadline.

Pablo de Lara (2):
  crypto/aesni_gcm: migrate to Multi-buffer library
  test/crypto: add AES GCM 192 tests

 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                |  10 +-
 drivers/crypto/aesni_gcm/aesni_gcm_ops.h         | 130 ++++++++-
 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c         |  90 +++---
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c     |  18 +-
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h |  15 +-
 mk/rte.app.mk                                    |   3 +-
 test/test/test_cryptodev.c                       | 116 ++++++++
 test/test/test_cryptodev_gcm_test_vectors.h      | 357 +++++++++++++++++++++++
 12 files changed, 696 insertions(+), 77 deletions(-)

-- 
2.7.4



More information about the dev mailing list