[v2,00/12] add OCTEON TX2 crypto PMD
mbox series

Message ID 1570970402-20278-1-git-send-email-anoobj@marvell.com
Headers show
Series
  • add OCTEON TX2 crypto PMD
Related show

Message

Anoob Joseph Oct. 13, 2019, 12:39 p.m. UTC
The series introduces poll mode driver to enable crypto offload engine
on Marvell OCTEON TX2 SoC.

Changes in v2:
* Merged series adding sym features and asym features into one.
* Squashed patches as directed by Akhil.
* Added check for ASYM SESSIONLESS (not supported currently)
* Minor updates to documentation

Ankur Dwivedi (3):
  crypto/octeontx2: add device control ops
  crypto/octeontx2: add queue pair functions
  crypto/octeontx2: add session related functions

Anoob Joseph (5):
  crypto/octeontx2: add PMD skeleton
  crypto/octeontx2: add device init sequence in probe
  crypto/octeontx2: add symmetric capabilities
  crypto/octeontx2: add enqueue/dequeue ops
  test: add OCTEON TX2 tests

Kanaka Durga Kotamarthy (2):
  crypto/octeontx2: allocate memory for asymmetric operation
  crypto/octeontx2: add asymmetric session operations

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

 MAINTAINERS                                        |    7 +
 app/test/meson.build                               |    1 +
 app/test/test_cryptodev.c                          |  323 ++++++
 app/test/test_cryptodev.h                          |    1 +
 app/test/test_cryptodev_aes_test_vectors.h         |  114 +-
 app/test/test_cryptodev_asym.c                     |   20 +
 app/test/test_cryptodev_blockcipher.c              |    7 +
 app/test/test_cryptodev_blockcipher.h              |    1 +
 app/test/test_cryptodev_des_test_vectors.h         |   12 +-
 app/test/test_cryptodev_hash_test_vectors.h        |   75 +-
 config/common_base                                 |    5 +
 doc/guides/cryptodevs/features/octeontx2.ini       |   71 ++
 doc/guides/cryptodevs/index.rst                    |    1 +
 doc/guides/cryptodevs/octeontx2.rst                |  159 +++
 doc/guides/platform/octeontx2.rst                  |    3 +
 doc/guides/rel_notes/release_19_11.rst             |    6 +
 drivers/common/Makefile                            |    5 +-
 drivers/common/cpt/cpt_hw_types.h                  |   52 +
 drivers/common/cpt/cpt_mcode_defines.h             |    2 +
 drivers/crypto/Makefile                            |    1 +
 drivers/crypto/meson.build                         |   21 +-
 drivers/crypto/octeontx2/Makefile                  |   50 +
 drivers/crypto/octeontx2/meson.build               |   34 +
 drivers/crypto/octeontx2/otx2_cryptodev.c          |  157 +++
 drivers/crypto/octeontx2/otx2_cryptodev.h          |   43 +
 .../crypto/octeontx2/otx2_cryptodev_capabilities.c |  639 ++++++++++++
 .../crypto/octeontx2/otx2_cryptodev_capabilities.h |   16 +
 .../crypto/octeontx2/otx2_cryptodev_hw_access.c    |  225 ++++
 .../crypto/octeontx2/otx2_cryptodev_hw_access.h    |  169 +++
 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c     |  175 ++++
 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h     |   25 +
 drivers/crypto/octeontx2/otx2_cryptodev_ops.c      | 1100 ++++++++++++++++++++
 drivers/crypto/octeontx2/otx2_cryptodev_ops.h      |   21 +
 .../octeontx2/rte_pmd_octeontx2_crypto_version.map |    4 +
 mk/rte.app.mk                                      |    6 +-
 35 files changed, 3479 insertions(+), 72 deletions(-)
 create mode 100644 doc/guides/cryptodevs/features/octeontx2.ini
 create mode 100644 doc/guides/cryptodevs/octeontx2.rst
 create mode 100644 drivers/crypto/octeontx2/Makefile
 create mode 100644 drivers/crypto/octeontx2/meson.build
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.c
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.h
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.h
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.c
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.c
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.h
 create mode 100644 drivers/crypto/octeontx2/rte_pmd_octeontx2_crypto_version.map

Comments

Akhil Goyal Oct. 16, 2019, 1:32 p.m. UTC | #1
Please rebase this series. Build cannot be verified by CI. There are apply issues.
> 
> The series introduces poll mode driver to enable crypto offload engine
> on Marvell OCTEON TX2 SoC.
> 
> Changes in v2:
> * Merged series adding sym features and asym features into one.
> * Squashed patches as directed by Akhil.
> * Added check for ASYM SESSIONLESS (not supported currently)
> * Minor updates to documentation
> 
> Ankur Dwivedi (3):
>   crypto/octeontx2: add device control ops
>   crypto/octeontx2: add queue pair functions
>   crypto/octeontx2: add session related functions
> 
> Anoob Joseph (5):
>   crypto/octeontx2: add PMD skeleton
>   crypto/octeontx2: add device init sequence in probe
>   crypto/octeontx2: add symmetric capabilities
>   crypto/octeontx2: add enqueue/dequeue ops
>   test: add OCTEON TX2 tests
> 
> Kanaka Durga Kotamarthy (2):
>   crypto/octeontx2: allocate memory for asymmetric operation
>   crypto/octeontx2: add asymmetric session operations
> 
> Sunila Sahu (2):
>   crypto/octeontx2: add asymmetric in enqueue/dequeue ops
>   app/test: register octeontx2 PMD to asym testsuite
> 
>  MAINTAINERS                                        |    7 +
>  app/test/meson.build                               |    1 +
>  app/test/test_cryptodev.c                          |  323 ++++++
>  app/test/test_cryptodev.h                          |    1 +
>  app/test/test_cryptodev_aes_test_vectors.h         |  114 +-
>  app/test/test_cryptodev_asym.c                     |   20 +
>  app/test/test_cryptodev_blockcipher.c              |    7 +
>  app/test/test_cryptodev_blockcipher.h              |    1 +
>  app/test/test_cryptodev_des_test_vectors.h         |   12 +-
>  app/test/test_cryptodev_hash_test_vectors.h        |   75 +-
>  config/common_base                                 |    5 +
>  doc/guides/cryptodevs/features/octeontx2.ini       |   71 ++
>  doc/guides/cryptodevs/index.rst                    |    1 +
>  doc/guides/cryptodevs/octeontx2.rst                |  159 +++
>  doc/guides/platform/octeontx2.rst                  |    3 +
>  doc/guides/rel_notes/release_19_11.rst             |    6 +
>  drivers/common/Makefile                            |    5 +-
>  drivers/common/cpt/cpt_hw_types.h                  |   52 +
>  drivers/common/cpt/cpt_mcode_defines.h             |    2 +
>  drivers/crypto/Makefile                            |    1 +
>  drivers/crypto/meson.build                         |   21 +-
>  drivers/crypto/octeontx2/Makefile                  |   50 +
>  drivers/crypto/octeontx2/meson.build               |   34 +
>  drivers/crypto/octeontx2/otx2_cryptodev.c          |  157 +++
>  drivers/crypto/octeontx2/otx2_cryptodev.h          |   43 +
>  .../crypto/octeontx2/otx2_cryptodev_capabilities.c |  639 ++++++++++++
>  .../crypto/octeontx2/otx2_cryptodev_capabilities.h |   16 +
>  .../crypto/octeontx2/otx2_cryptodev_hw_access.c    |  225 ++++
>  .../crypto/octeontx2/otx2_cryptodev_hw_access.h    |  169 +++
>  drivers/crypto/octeontx2/otx2_cryptodev_mbox.c     |  175 ++++
>  drivers/crypto/octeontx2/otx2_cryptodev_mbox.h     |   25 +
>  drivers/crypto/octeontx2/otx2_cryptodev_ops.c      | 1100
> ++++++++++++++++++++
>  drivers/crypto/octeontx2/otx2_cryptodev_ops.h      |   21 +
>  .../octeontx2/rte_pmd_octeontx2_crypto_version.map |    4 +
>  mk/rte.app.mk                                      |    6 +-
>  35 files changed, 3479 insertions(+), 72 deletions(-)
>  create mode 100644 doc/guides/cryptodevs/features/octeontx2.ini
>  create mode 100644 doc/guides/cryptodevs/octeontx2.rst
>  create mode 100644 drivers/crypto/octeontx2/Makefile
>  create mode 100644 drivers/crypto/octeontx2/meson.build
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.c
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.h
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_capabilities.h
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.c
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.c
>  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.h
>  create mode 100644
> drivers/crypto/octeontx2/rte_pmd_octeontx2_crypto_version.map
> 
> --
> 2.7.4
Anoob Joseph Oct. 16, 2019, 1:39 p.m. UTC | #2
Hi Akhil,

I'll rebase the series and send in a short while.

Thanks,
Anoob

> -----Original Message-----
> From: Akhil Goyal <akhil.goyal@nxp.com>
> Sent: Wednesday, October 16, 2019 7:02 PM
> To: Anoob Joseph <anoobj@marvell.com>; Pablo de Lara
> <pablo.de.lara.guarch@intel.com>
> Cc: Fiona Trahe <fiona.trahe@intel.com>; Jerin Jacob Kollanukkaran
> <jerinj@marvell.com>; Narayana Prasad Raju Athreya
> <pathreya@marvell.com>; Shally Verma <shallyv@marvell.com>; Ankur Dwivedi
> <adwivedi@marvell.com>; Kanaka Durga Kotamarthy
> <kkotamarthy@marvell.com>; Sunila Sahu <ssahu@marvell.com>; Tejasree
> Kondoj <ktejasree@marvell.com>; dev@dpdk.org
> Subject: [EXT] RE: [PATCH v2 00/12] add OCTEON TX2 crypto PMD
> 
> External Email
> 
> ----------------------------------------------------------------------
> Please rebase this series. Build cannot be verified by CI. There are apply issues.
> >
> > The series introduces poll mode driver to enable crypto offload engine
> > on Marvell OCTEON TX2 SoC.
> >
> > Changes in v2:
> > * Merged series adding sym features and asym features into one.
> > * Squashed patches as directed by Akhil.
> > * Added check for ASYM SESSIONLESS (not supported currently)
> > * Minor updates to documentation
> >
> > Ankur Dwivedi (3):
> >   crypto/octeontx2: add device control ops
> >   crypto/octeontx2: add queue pair functions
> >   crypto/octeontx2: add session related functions
> >
> > Anoob Joseph (5):
> >   crypto/octeontx2: add PMD skeleton
> >   crypto/octeontx2: add device init sequence in probe
> >   crypto/octeontx2: add symmetric capabilities
> >   crypto/octeontx2: add enqueue/dequeue ops
> >   test: add OCTEON TX2 tests
> >
> > Kanaka Durga Kotamarthy (2):
> >   crypto/octeontx2: allocate memory for asymmetric operation
> >   crypto/octeontx2: add asymmetric session operations
> >
> > Sunila Sahu (2):
> >   crypto/octeontx2: add asymmetric in enqueue/dequeue ops
> >   app/test: register octeontx2 PMD to asym testsuite
> >
> >  MAINTAINERS                                        |    7 +
> >  app/test/meson.build                               |    1 +
> >  app/test/test_cryptodev.c                          |  323 ++++++
> >  app/test/test_cryptodev.h                          |    1 +
> >  app/test/test_cryptodev_aes_test_vectors.h         |  114 +-
> >  app/test/test_cryptodev_asym.c                     |   20 +
> >  app/test/test_cryptodev_blockcipher.c              |    7 +
> >  app/test/test_cryptodev_blockcipher.h              |    1 +
> >  app/test/test_cryptodev_des_test_vectors.h         |   12 +-
> >  app/test/test_cryptodev_hash_test_vectors.h        |   75 +-
> >  config/common_base                                 |    5 +
> >  doc/guides/cryptodevs/features/octeontx2.ini       |   71 ++
> >  doc/guides/cryptodevs/index.rst                    |    1 +
> >  doc/guides/cryptodevs/octeontx2.rst                |  159 +++
> >  doc/guides/platform/octeontx2.rst                  |    3 +
> >  doc/guides/rel_notes/release_19_11.rst             |    6 +
> >  drivers/common/Makefile                            |    5 +-
> >  drivers/common/cpt/cpt_hw_types.h                  |   52 +
> >  drivers/common/cpt/cpt_mcode_defines.h             |    2 +
> >  drivers/crypto/Makefile                            |    1 +
> >  drivers/crypto/meson.build                         |   21 +-
> >  drivers/crypto/octeontx2/Makefile                  |   50 +
> >  drivers/crypto/octeontx2/meson.build               |   34 +
> >  drivers/crypto/octeontx2/otx2_cryptodev.c          |  157 +++
> >  drivers/crypto/octeontx2/otx2_cryptodev.h          |   43 +
> >  .../crypto/octeontx2/otx2_cryptodev_capabilities.c |  639 ++++++++++++
> >  .../crypto/octeontx2/otx2_cryptodev_capabilities.h |   16 +
> >  .../crypto/octeontx2/otx2_cryptodev_hw_access.c    |  225 ++++
> >  .../crypto/octeontx2/otx2_cryptodev_hw_access.h    |  169 +++
> >  drivers/crypto/octeontx2/otx2_cryptodev_mbox.c     |  175 ++++
> >  drivers/crypto/octeontx2/otx2_cryptodev_mbox.h     |   25 +
> >  drivers/crypto/octeontx2/otx2_cryptodev_ops.c      | 1100
> > ++++++++++++++++++++
> >  drivers/crypto/octeontx2/otx2_cryptodev_ops.h      |   21 +
> >  .../octeontx2/rte_pmd_octeontx2_crypto_version.map |    4 +
> >  mk/rte.app.mk                                      |    6 +-
> >  35 files changed, 3479 insertions(+), 72 deletions(-)  create mode
> > 100644 doc/guides/cryptodevs/features/octeontx2.ini
> >  create mode 100644 doc/guides/cryptodevs/octeontx2.rst
> >  create mode 100644 drivers/crypto/octeontx2/Makefile  create mode
> > 100644 drivers/crypto/octeontx2/meson.build
> >  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.c
> >  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev.h
> >  create mode 100644
> > drivers/crypto/octeontx2/otx2_cryptodev_capabilities.c
> >  create mode 100644
> > drivers/crypto/octeontx2/otx2_cryptodev_capabilities.h
> >  create mode 100644
> > drivers/crypto/octeontx2/otx2_cryptodev_hw_access.c
> >  create mode 100644
> > drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h
> >  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c
> >  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h
> >  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.c
> >  create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops.h
> >  create mode 100644
> > drivers/crypto/octeontx2/rte_pmd_octeontx2_crypto_version.map
> >
> > --
> > 2.7.4