DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: declan.doherty@intel.com
Cc: dev@dpdk.org, Pablo de Lara <pablo.de.lara.guarch@intel.com>
Subject: [dpdk-dev] [PATCH 0/2] AESNI GCM PMD: Migration from ISA-L to Multi-buffer library
Date: Fri, 26 May 2017 11:16:04 +0100	[thread overview]
Message-ID: <1495793766-200890-1-git-send-email-pablo.de.lara.guarch@intel.com> (raw)

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

             reply	other threads:[~2017-05-26 10:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-26 10:16 Pablo de Lara [this message]
2017-05-26 10:16 ` [dpdk-dev] [PATCH 1/2] crypto/aesni_gcm: migrate " Pablo de Lara
2017-05-26 10:16 ` [dpdk-dev] [PATCH 2/2] test/crypto: add AES GCM 192 tests Pablo de Lara
2017-06-28 11:32 ` [dpdk-dev] [PATCH v2 0/4] AESNI GCM PMD: Migration from ISA-L to Multi-buffer library Pablo de Lara
2017-06-28 11:32   ` [dpdk-dev] [PATCH v2 1/4] crypto/aesni_gcm: migrate " Pablo de Lara
2017-06-28 11:32   ` [dpdk-dev] [PATCH v2 2/4] test/crypto: rename some tests Pablo de Lara
2017-06-28 11:32   ` [dpdk-dev] [PATCH v2 3/4] test/crypto: add AES GCM 192 tests Pablo de Lara
2017-06-28 11:32   ` [dpdk-dev] [PATCH v2 4/4] test/crypto: extend AES-GCM 192/256 to other PMDs Pablo de Lara
2017-06-30 14:16   ` [dpdk-dev] [PATCH v2 0/4] AESNI GCM PMD: Migration from ISA-L to Multi-buffer library Sergio Gonzalez Monroy
2017-07-04 10:11     ` De Lara Guarch, Pablo
2017-07-04  0:12   ` [dpdk-dev] [PATCH v3 " Pablo de Lara
2017-07-04  0:12     ` [dpdk-dev] [PATCH v3 1/4] crypto/aesni_gcm: migrate " Pablo de Lara
2017-07-04  9:43       ` Declan Doherty
2017-07-04 10:17         ` De Lara Guarch, Pablo
2017-07-04  0:12     ` [dpdk-dev] [PATCH v3 2/4] test/crypto: rename some tests Pablo de Lara
2017-07-04  0:12     ` [dpdk-dev] [PATCH v3 3/4] test/crypto: add AES GCM 192 tests Pablo de Lara
2017-07-04  0:12     ` [dpdk-dev] [PATCH v3 4/4] test/crypto: extend AES-GCM 192/256 to other PMDs Pablo de Lara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495793766-200890-1-git-send-email-pablo.de.lara.guarch@intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).