mbox series

[v5,00/15] crypto: add raw vector support in DPAAx

Message ID 20211017161651.9220-1-hemant.agrawal@nxp.com (mailing list archive)
Headers
Series crypto: add raw vector support in DPAAx |

Message

Hemant Agrawal Oct. 17, 2021, 4:16 p.m. UTC
  This patch series adds support for raw vector API in dpaax_sec drivers This also enhances the raw vector APIs to support OOP and security protocol support.

v2: fix aesni compilation and add release notes.
v3: ignore it
v4: fix the tot_length patch as per Konstantin's comments
v5: address comments from Akhil/Konstantin - update rel notes

Gagandeep Singh (11):
  crypto: add total raw buffer length
  crypto: fix raw process for multi-seg case
  crypto/dpaa2_sec: support raw datapath APIs
  crypto/dpaa2_sec: support AUTH only with raw buffer APIs
  crypto/dpaa2_sec: support AUTHENC with raw buffer APIs
  crypto/dpaa2_sec: support AEAD with raw buffer APIs
  crypto/dpaa2_sec: support OOP with raw buffer API
  crypto/dpaa2_sec: enhance error checks with raw buffer APIs
  crypto/dpaa_sec: support raw datapath APIs
  crypto/dpaa_sec: support authonly and chain with raw APIs
  crypto/dpaa_sec: support AEAD and proto with raw APIs

Hemant Agrawal (4):
  crypto: change sgl to src_sgl in vector
  crypto: add dest_sgl in raw vector APIs
  test/crypto: add raw API test for dpaax
  test/crypto: add raw API support in 5G algos

 app/test/test_cryptodev.c                   |  179 +++-
 doc/guides/rel_notes/deprecation.rst        |   12 -
 doc/guides/rel_notes/release_21_11.rst      |   11 +
 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c    |   12 +-
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c  |    6 +-
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c |   13 +-
 drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h   |   82 +-
 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 1045 ++++++++++++++++++
 drivers/crypto/dpaa2_sec/meson.build        |    3 +-
 drivers/crypto/dpaa_sec/dpaa_sec.c          |   23 +-
 drivers/crypto/dpaa_sec/dpaa_sec.h          |   40 +-
 drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c   | 1052 +++++++++++++++++++
 drivers/crypto/dpaa_sec/meson.build         |    4 +-
 drivers/crypto/qat/qat_sym_hw_dp.c          |   27 +-
 lib/cryptodev/rte_crypto_sym.h              |   11 +-
 lib/ipsec/misc.h                            |    4 +-
 16 files changed, 2408 insertions(+), 116 deletions(-)
 create mode 100644 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c
 create mode 100644 drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c
  

Comments

Akhil Goyal Oct. 17, 2021, 5:59 p.m. UTC | #1
> This patch series adds support for raw vector API in dpaax_sec drivers This
> also enhances the raw vector APIs to support OOP and security protocol
> support.
> 
> v2: fix aesni compilation and add release notes.
> v3: ignore it
> v4: fix the tot_length patch as per Konstantin's comments
> v5: address comments from Akhil/Konstantin - update rel notes
> 

Series Acked-by: Akhil Goyal <gakhil@marvell.com>

Modified release notes and patch title/description while applying.

Applied to dpdk-next-crypto

Thanks.

@Fan: This series may cause issue in QAT raw crypto testing if it does not support wireless algos for raw data path.
  
Fan Zhang Oct. 18, 2021, 7:33 a.m. UTC | #2
Hi Akhil,

We have been prepared for that.
For this release we will update QAT PMD to return -ENOTSUP if we found dst sgl is not NULL or not equal to src sgl.

Regards,
Fan

> -----Original Message-----
> From: Akhil Goyal <gakhil@marvell.com>
> Sent: Sunday, October 17, 2021 6:59 PM
> To: Hemant Agrawal <hemant.agrawal@nxp.com>; dev@dpdk.org; Zhang,
> Roy Fan <roy.fan.zhang@intel.com>
> Cc: Ananyev, Konstantin <konstantin.ananyev@intel.com>
> Subject: RE: [EXT] [PATCH v5 00/15] crypto: add raw vector support in DPAAx
> 
> > This patch series adds support for raw vector API in dpaax_sec drivers This
> > also enhances the raw vector APIs to support OOP and security protocol
> > support.
> >
> > v2: fix aesni compilation and add release notes.
> > v3: ignore it
> > v4: fix the tot_length patch as per Konstantin's comments
> > v5: address comments from Akhil/Konstantin - update rel notes
> >
> 
> Series Acked-by: Akhil Goyal <gakhil@marvell.com>
> 
> Modified release notes and patch title/description while applying.
> 
> Applied to dpdk-next-crypto
> 
> Thanks.
> 
> @Fan: This series may cause issue in QAT raw crypto testing if it does not
> support wireless algos for raw data path.