mbox series

[v4,0/3] Use Intel IPSec MB library in Wireless PMDs

Message ID 1579520876-221343-1-git-send-email-pablo.de.lara.guarch@intel.com (mailing list archive)
Headers show
Series Use Intel IPSec MB library in Wireless PMDs | expand

Message

Pablo de Lara Jan. 20, 2020, 11:47 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 v4:
- Rebased against latest dpdk-next-crypto

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(-)

Comments

Akhil Goyal Jan. 21, 2020, 10:22 a.m. UTC | #1
> 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://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.co
> m%2Fintel%2Fintel-ipsec-
> mb&data=02%7C01%7Cakhil.goyal%40nxp.com%7C5ffd94496dc54ff2320a
> 08d79d9e9c28%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637151
> 176851109882&sdata=FtTqorVaqtV89FBjDasUeK5lq%2B0Z8jj42iGzoIyVOG
> w%3D&reserved=0.
> 
> 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 v4:
> - Rebased against latest dpdk-next-crypto
> 
Series
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>

Applied to dpdk-next-crypto

Thanks.