[v3,0/3] Use Intel IPSec MB library in Wireless PMDs
mbox series

Message ID 1579174909-166566-1-git-send-email-pablo.de.lara.guarch@intel.com
Headers show
Series
  • Use Intel IPSec MB library in Wireless PMDs
Related show

Message

De Lara Guarch, Pablo Jan. 16, 2020, 11:41 a.m. UTC
The three Intel SW Crypto PMDs supporting SNOW3G, ZUC and KASUMI link against libSSO libraries.
The Intel IPSec Multi-buffer library recently integrated the code from these libraries, in version v0.53.
This library can be downloaded from https://github.com/intel/intel-ipsec-mb.

KASUMI, SNOW3G and ZUC PMDs have been modified to use this single library,
which is already used in the AESNI MB and AESNI GCM PMDs,
reducing the number of external dependencies in the crypto PMDs.

Changes in v3:
- Fixed clang compilation
- Added reason field in meson config files

Changes in v2:
- Updated ZUC PMD to support future AVX512 and AVX2 implementations.

Pablo de Lara (3):
  crypto/zuc: use IPSec library
  crypto/kasumi: use IPSec library
  crypto/snow3g: use IPSec library

 devtools/test-build.sh                     | 16 ++----
 doc/guides/cryptodevs/kasumi.rst           | 62 ++++++++++++----------
 doc/guides/cryptodevs/snow3g.rst           | 58 +++++++++++---------
 doc/guides/cryptodevs/zuc.rst              | 52 ++++++++++--------
 doc/guides/rel_notes/release_20_02.rst     | 17 ++++++
 drivers/crypto/kasumi/Makefile             | 26 +++++----
 drivers/crypto/kasumi/kasumi_pmd_private.h | 12 +++--
 drivers/crypto/kasumi/meson.build          | 21 ++++++--
 drivers/crypto/kasumi/rte_kasumi_pmd.c     | 79 +++++++++++++++------------
 drivers/crypto/kasumi/rte_kasumi_pmd_ops.c |  8 ++-
 drivers/crypto/snow3g/Makefile             | 29 ++++++----
 drivers/crypto/snow3g/meson.build          | 21 ++++++--
 drivers/crypto/snow3g/rte_snow3g_pmd.c     | 85 ++++++++++++++++++------------
 drivers/crypto/snow3g/rte_snow3g_pmd_ops.c |  8 ++-
 drivers/crypto/snow3g/snow3g_pmd_private.h | 14 +++--
 drivers/crypto/zuc/Makefile                | 28 ++++++----
 drivers/crypto/zuc/meson.build             | 21 ++++++--
 drivers/crypto/zuc/rte_zuc_pmd.c           | 58 ++++++++++++++------
 drivers/crypto/zuc/rte_zuc_pmd_ops.c       |  2 +
 drivers/crypto/zuc/zuc_pmd_private.h       |  6 ++-
 mk/rte.app.mk                              |  6 +--
 21 files changed, 394 insertions(+), 235 deletions(-)