mbox series

[v2,0/5] add asym support in crypto_octeontx PMD

Message ID 1570798896-18974-1-git-send-email-anoobj@marvell.com (mailing list archive)
Headers
Series add asym support in crypto_octeontx PMD |

Message

Anoob Joseph Oct. 11, 2019, 1:01 p.m. UTC
  This series adds asymmetric crypto support in 'crypto_octoentx' PMD.

Changes in v2:
* Squashed patches as directed by Akhil
* Split the doc patch and added documentation along with feature
* Added check for ASYM SESSIONLESS (not supported currently)
* Made separate enqueue & dequeue routines for sym & asym
* Minor updates to documentation

Kanaka Durga Kotamarthy (3):
  crypto/octeontx: add device type mailbox routine
  crypto/octeontx: add asymmetric session operations
  common/cpt: add helper functions for asymmetric crypto

Sunila Sahu (2):
  crypto/octeontx: add asymmetric enqueue/dequeue ops
  app/test: register octeontx PMD to asym testsuite

 app/test/test_cryptodev_asym.c                     |  31 ++
 doc/guides/cryptodevs/features/octeontx.ini        |   6 +-
 doc/guides/cryptodevs/octeontx.rst                 |  29 +-
 drivers/common/cpt/cpt_common.h                    |   4 +-
 drivers/common/cpt/cpt_mcode_defines.h             |  29 ++
 drivers/common/cpt/cpt_pmd_ops_helper.c            |  15 +
 drivers/common/cpt/cpt_pmd_ops_helper.h            |   9 +
 drivers/common/cpt/cpt_ucode_asym.h                | 453 +++++++++++++++++++++
 drivers/common/cpt/rte_common_cpt_version.map      |   8 +
 .../crypto/octeontx/otx_cryptodev_capabilities.c   |  47 ++-
 .../crypto/octeontx/otx_cryptodev_capabilities.h   |   5 +-
 drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  51 ++-
 drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  26 +-
 drivers/crypto/octeontx/otx_cryptodev_mbox.h       |  20 +
 drivers/crypto/octeontx/otx_cryptodev_ops.c        | 338 +++++++++++++--
 drivers/crypto/octeontx/otx_cryptodev_ops.h        |   2 +
 16 files changed, 1016 insertions(+), 57 deletions(-)
 create mode 100644 drivers/common/cpt/cpt_ucode_asym.h
  

Comments

Akhil Goyal Oct. 15, 2019, 12:46 p.m. UTC | #1
Hi Anoob,

I believe this should also be updated in the release notes.
If yes, please reply to this mail with appropriate description.
I will update it while merging.

> 
> This series adds asymmetric crypto support in 'crypto_octoentx' PMD.
> 
> Changes in v2:
> * Squashed patches as directed by Akhil
> * Split the doc patch and added documentation along with feature
> * Added check for ASYM SESSIONLESS (not supported currently)
> * Made separate enqueue & dequeue routines for sym & asym
> * Minor updates to documentation
> 
> Kanaka Durga Kotamarthy (3):
>   crypto/octeontx: add device type mailbox routine
>   crypto/octeontx: add asymmetric session operations
>   common/cpt: add helper functions for asymmetric crypto
> 
> Sunila Sahu (2):
>   crypto/octeontx: add asymmetric enqueue/dequeue ops
>   app/test: register octeontx PMD to asym testsuite
> 
>  app/test/test_cryptodev_asym.c                     |  31 ++
>  doc/guides/cryptodevs/features/octeontx.ini        |   6 +-
>  doc/guides/cryptodevs/octeontx.rst                 |  29 +-
>  drivers/common/cpt/cpt_common.h                    |   4 +-
>  drivers/common/cpt/cpt_mcode_defines.h             |  29 ++
>  drivers/common/cpt/cpt_pmd_ops_helper.c            |  15 +
>  drivers/common/cpt/cpt_pmd_ops_helper.h            |   9 +
>  drivers/common/cpt/cpt_ucode_asym.h                | 453
> +++++++++++++++++++++
>  drivers/common/cpt/rte_common_cpt_version.map      |   8 +
>  .../crypto/octeontx/otx_cryptodev_capabilities.c   |  47 ++-
>  .../crypto/octeontx/otx_cryptodev_capabilities.h   |   5 +-
>  drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  51 ++-
>  drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  26 +-
>  drivers/crypto/octeontx/otx_cryptodev_mbox.h       |  20 +
>  drivers/crypto/octeontx/otx_cryptodev_ops.c        | 338 +++++++++++++--
>  drivers/crypto/octeontx/otx_cryptodev_ops.h        |   2 +
>  16 files changed, 1016 insertions(+), 57 deletions(-)
>  create mode 100644 drivers/common/cpt/cpt_ucode_asym.h
> 
> --
> 2.7.4
  
Akhil Goyal Oct. 15, 2019, 1:31 p.m. UTC | #2
> 
> Hi Anoob,
> 
> I believe this should also be updated in the release notes.
> If yes, please reply to this mail with appropriate description.
> I will update it while merging.
> 
Please send the release note update. I will squash the change with this patchset.
Applied to dpdk-next-crypto

Thanks.

> >
> > This series adds asymmetric crypto support in 'crypto_octoentx' PMD.
> >
> > Changes in v2:
> > * Squashed patches as directed by Akhil
> > * Split the doc patch and added documentation along with feature
> > * Added check for ASYM SESSIONLESS (not supported currently)
> > * Made separate enqueue & dequeue routines for sym & asym
> > * Minor updates to documentation
> >
> > Kanaka Durga Kotamarthy (3):
> >   crypto/octeontx: add device type mailbox routine
> >   crypto/octeontx: add asymmetric session operations
> >   common/cpt: add helper functions for asymmetric crypto
> >
> > Sunila Sahu (2):
> >   crypto/octeontx: add asymmetric enqueue/dequeue ops
> >   app/test: register octeontx PMD to asym testsuite
> >
> >  app/test/test_cryptodev_asym.c                     |  31 ++
> >  doc/guides/cryptodevs/features/octeontx.ini        |   6 +-
> >  doc/guides/cryptodevs/octeontx.rst                 |  29 +-
> >  drivers/common/cpt/cpt_common.h                    |   4 +-
> >  drivers/common/cpt/cpt_mcode_defines.h             |  29 ++
> >  drivers/common/cpt/cpt_pmd_ops_helper.c            |  15 +
> >  drivers/common/cpt/cpt_pmd_ops_helper.h            |   9 +
> >  drivers/common/cpt/cpt_ucode_asym.h                | 453
> > +++++++++++++++++++++
> >  drivers/common/cpt/rte_common_cpt_version.map      |   8 +
> >  .../crypto/octeontx/otx_cryptodev_capabilities.c   |  47 ++-
> >  .../crypto/octeontx/otx_cryptodev_capabilities.h   |   5 +-
> >  drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  51 ++-
> >  drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  26 +-
> >  drivers/crypto/octeontx/otx_cryptodev_mbox.h       |  20 +
> >  drivers/crypto/octeontx/otx_cryptodev_ops.c        | 338 +++++++++++++--
> >  drivers/crypto/octeontx/otx_cryptodev_ops.h        |   2 +
> >  16 files changed, 1016 insertions(+), 57 deletions(-)
> >  create mode 100644 drivers/common/cpt/cpt_ucode_asym.h
> >
> > --
> > 2.7.4
  
Anoob Joseph Oct. 16, 2019, 4:57 a.m. UTC | #3
Hi Akhil

You can use the following description.

+* **Added asymmetric support to Marvell OCTEON TX crypto PMD.**
+
+  Added support for asymmetric operations in Marvell OCTEON TX cypto PMD. Supports RSA
+  and modexp operations.
+

Thanks,
Anoob

> -----Original Message-----
> From: Akhil Goyal <akhil.goyal@nxp.com>
> Sent: Tuesday, October 15, 2019 6:17 PM
> To: Anoob Joseph <anoobj@marvell.com>; Pablo de Lara
> <pablo.de.lara.guarch@intel.com>
> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Narayana Prasad Raju
> Athreya <pathreya@marvell.com>; Kanaka Durga Kotamarthy
> <kkotamarthy@marvell.com>; Sunila Sahu <ssahu@marvell.com>; Shally
> Verma <shallyv@marvell.com>; Fiona Trahe <fiona.trahe@intel.com>;
> dev@dpdk.org
> Subject: [EXT] RE: [PATCH v2 0/5] add asym support in crypto_octeontx PMD
> 
> External Email
> 
> ----------------------------------------------------------------------
> Hi Anoob,
> 
> I believe this should also be updated in the release notes.
> If yes, please reply to this mail with appropriate description.
> I will update it while merging.
> 
> >
> > This series adds asymmetric crypto support in 'crypto_octoentx' PMD.
> >
> > Changes in v2:
> > * Squashed patches as directed by Akhil
> > * Split the doc patch and added documentation along with feature
> > * Added check for ASYM SESSIONLESS (not supported currently)
> > * Made separate enqueue & dequeue routines for sym & asym
> > * Minor updates to documentation
> >
> > Kanaka Durga Kotamarthy (3):
> >   crypto/octeontx: add device type mailbox routine
> >   crypto/octeontx: add asymmetric session operations
> >   common/cpt: add helper functions for asymmetric crypto
> >
> > Sunila Sahu (2):
> >   crypto/octeontx: add asymmetric enqueue/dequeue ops
> >   app/test: register octeontx PMD to asym testsuite
> >
> >  app/test/test_cryptodev_asym.c                     |  31 ++
> >  doc/guides/cryptodevs/features/octeontx.ini        |   6 +-
> >  doc/guides/cryptodevs/octeontx.rst                 |  29 +-
> >  drivers/common/cpt/cpt_common.h                    |   4 +-
> >  drivers/common/cpt/cpt_mcode_defines.h             |  29 ++
> >  drivers/common/cpt/cpt_pmd_ops_helper.c            |  15 +
> >  drivers/common/cpt/cpt_pmd_ops_helper.h            |   9 +
> >  drivers/common/cpt/cpt_ucode_asym.h                | 453
> > +++++++++++++++++++++
> >  drivers/common/cpt/rte_common_cpt_version.map      |   8 +
> >  .../crypto/octeontx/otx_cryptodev_capabilities.c   |  47 ++-
> >  .../crypto/octeontx/otx_cryptodev_capabilities.h   |   5 +-
> >  drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  51 ++-
> >  drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  26 +-
> >  drivers/crypto/octeontx/otx_cryptodev_mbox.h       |  20 +
> >  drivers/crypto/octeontx/otx_cryptodev_ops.c        | 338 +++++++++++++--
> >  drivers/crypto/octeontx/otx_cryptodev_ops.h        |   2 +
> >  16 files changed, 1016 insertions(+), 57 deletions(-)  create mode
> > 100644 drivers/common/cpt/cpt_ucode_asym.h
> >
> > --
> > 2.7.4
  
Akhil Goyal Oct. 16, 2019, 5:57 a.m. UTC | #4
> 
> Hi Akhil
> 
> You can use the following description.
> 
> +* **Added asymmetric support to Marvell OCTEON TX crypto PMD.**
> +
> +  Added support for asymmetric operations in Marvell OCTEON TX cypto PMD.
> Supports RSA
> +  and modexp operations.
> +
> 

Updated with enq/deq patch.

Thanks.