From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo de Lara Subject: [PATCH 0/2] AESNI GCM PMD: Migration from ISA-L to Multi-buffer library Date: Fri, 26 May 2017 11:16:04 +0100 Message-ID: <1495793766-200890-1-git-send-email-pablo.de.lara.guarch@intel.com> Cc: dev@dpdk.org, Pablo de Lara To: declan.doherty@intel.com Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id CAF749B89 for ; Fri, 26 May 2017 12:15:50 +0200 (CEST) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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