mbox series

[00/11] add OCTEON TX2 crypto PMD

Message ID 1567146501-8224-1-git-send-email-anoobj@marvell.com (mailing list archive)
Headers
Series add OCTEON TX2 crypto PMD |

Message

Anoob Joseph Aug. 30, 2019, 6:28 a.m. UTC
  This series introduces poll mode driver to enable crypto offload engine
on Marvell OCTEON TX2 SoC.

Ankur Dwivedi (5):
  crypto/octeontx2: add PMD skeleton
  crypto/octeontx2: add device control ops
  crypto/octeontx2: add hardware definitions
  crypto/octeontx2: add session related functions
  crypto/octeontx2: add dequeue burst

Anoob Joseph (6):
  crypto/octeontx2: add device init sequence in probe
  crypto/octeontx2: add symmetric capabilities
  crypto/octeontx2: add queue pair functions
  crypto/octeontx2: add enqueue burst
  test: add OCTEON TX2 tests
  doc: add documentation for OCTEON TX2 crypto PMD

 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         | 112 ++-
 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       |  62 ++
 doc/guides/cryptodevs/index.rst                    |   1 +
 doc/guides/cryptodevs/octeontx2.rst                | 142 ++++
 doc/guides/platform/octeontx2.rst                  |   3 +
 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                         |   4 +-
 drivers/crypto/octeontx2/Makefile                  |  50 ++
 drivers/crypto/octeontx2/meson.build               |  34 +
 drivers/crypto/octeontx2/otx2_cryptodev.c          | 158 ++++
 drivers/crypto/octeontx2/otx2_cryptodev.h          |  39 +
 .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 604 +++++++++++++++
 .../crypto/octeontx2/otx2_cryptodev_capabilities.h |  16 +
 .../crypto/octeontx2/otx2_cryptodev_hw_access.c    | 225 ++++++
 .../crypto/octeontx2/otx2_cryptodev_hw_access.h    | 223 ++++++
 drivers/crypto/octeontx2/otx2_cryptodev_mbox.c     | 175 +++++
 drivers/crypto/octeontx2/otx2_cryptodev_mbox.h     |  25 +
 drivers/crypto/octeontx2/otx2_cryptodev_ops.c      | 839 +++++++++++++++++++++
 drivers/crypto/octeontx2/otx2_cryptodev_ops.h      |  20 +
 .../octeontx2/rte_pmd_octeontx2_crypto_version.map |   4 +
 mk/rte.app.mk                                      |   6 +-
 33 files changed, 3164 insertions(+), 70 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

Anoob Joseph Sept. 26, 2019, 11:03 a.m. UTC | #1
Hi Akhil, Pablo,

Can you review this series?

Thanks,
Anoob

> -----Original Message-----
> From: Anoob Joseph <anoobj@marvell.com>
> Sent: Friday, August 30, 2019 11:58 AM
> To: Akhil Goyal <akhil.goyal@nxp.com>; Pablo de Lara
> <pablo.de.lara.guarch@intel.com>; Thomas Monjalon
> <thomas@monjalon.net>
> Cc: Anoob Joseph <anoobj@marvell.com>; Jerin Jacob Kollanukkaran
> <jerinj@marvell.com>; Narayana Prasad Raju Athreya
> <pathreya@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>;
> Tejasree Kondoj <ktejasree@marvell.com>; dev@dpdk.org
> Subject: [PATCH 00/11] add OCTEON TX2 crypto PMD
> 
> This series introduces poll mode driver to enable crypto offload engine on
> Marvell OCTEON TX2 SoC.
> 
> Ankur Dwivedi (5):
>   crypto/octeontx2: add PMD skeleton
>   crypto/octeontx2: add device control ops
>   crypto/octeontx2: add hardware definitions
>   crypto/octeontx2: add session related functions
>   crypto/octeontx2: add dequeue burst
> 
> Anoob Joseph (6):
>   crypto/octeontx2: add device init sequence in probe
>   crypto/octeontx2: add symmetric capabilities
>   crypto/octeontx2: add queue pair functions
>   crypto/octeontx2: add enqueue burst
>   test: add OCTEON TX2 tests
>   doc: add documentation for OCTEON TX2 crypto PMD
> 
>  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         | 112 ++-
>  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       |  62 ++
>  doc/guides/cryptodevs/index.rst                    |   1 +
>  doc/guides/cryptodevs/octeontx2.rst                | 142 ++++
>  doc/guides/platform/octeontx2.rst                  |   3 +
>  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                         |   4 +-
>  drivers/crypto/octeontx2/Makefile                  |  50 ++
>  drivers/crypto/octeontx2/meson.build               |  34 +
>  drivers/crypto/octeontx2/otx2_cryptodev.c          | 158 ++++
>  drivers/crypto/octeontx2/otx2_cryptodev.h          |  39 +
>  .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 604
> +++++++++++++++  .../crypto/octeontx2/otx2_cryptodev_capabilities.h |
> 16 +
>  .../crypto/octeontx2/otx2_cryptodev_hw_access.c    | 225 ++++++
>  .../crypto/octeontx2/otx2_cryptodev_hw_access.h    | 223 ++++++
>  drivers/crypto/octeontx2/otx2_cryptodev_mbox.c     | 175 +++++
>  drivers/crypto/octeontx2/otx2_cryptodev_mbox.h     |  25 +
>  drivers/crypto/octeontx2/otx2_cryptodev_ops.c      | 839
> +++++++++++++++++++++
>  drivers/crypto/octeontx2/otx2_cryptodev_ops.h      |  20 +
>  .../octeontx2/rte_pmd_octeontx2_crypto_version.map |   4 +
>  mk/rte.app.mk                                      |   6 +-
>  33 files changed, 3164 insertions(+), 70 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
  
Akhil Goyal Sept. 27, 2019, 7:51 a.m. UTC | #2
Hi Anoob,

The series is in my pipeline for the coming week.
I have given some comments on nitrox PMD. Please have a look in case they are valid for your PMD as well and send a v2.

Regards,
Akhil

> -----Original Message-----
> From: Anoob Joseph <anoobj@marvell.com>
> Sent: Thursday, September 26, 2019 4:34 PM
> To: Akhil Goyal <akhil.goyal@nxp.com>; Pablo de Lara
> <pablo.de.lara.guarch@intel.com>; Thomas Monjalon <thomas@monjalon.net>
> Cc: Jerin Jacob Kollanukkaran <jerinj@marvell.com>; Narayana Prasad Raju
> Athreya <pathreya@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>;
> Tejasree Kondoj <ktejasree@marvell.com>; dev@dpdk.org
> Subject: RE: [PATCH 00/11] add OCTEON TX2 crypto PMD
> 
> Hi Akhil, Pablo,
> 
> Can you review this series?
> 
> Thanks,
> Anoob
> 
> > -----Original Message-----
> > From: Anoob Joseph <anoobj@marvell.com>
> > Sent: Friday, August 30, 2019 11:58 AM
> > To: Akhil Goyal <akhil.goyal@nxp.com>; Pablo de Lara
> > <pablo.de.lara.guarch@intel.com>; Thomas Monjalon
> > <thomas@monjalon.net>
> > Cc: Anoob Joseph <anoobj@marvell.com>; Jerin Jacob Kollanukkaran
> > <jerinj@marvell.com>; Narayana Prasad Raju Athreya
> > <pathreya@marvell.com>; Ankur Dwivedi <adwivedi@marvell.com>;
> > Tejasree Kondoj <ktejasree@marvell.com>; dev@dpdk.org
> > Subject: [PATCH 00/11] add OCTEON TX2 crypto PMD
> >
> > This series introduces poll mode driver to enable crypto offload engine on
> > Marvell OCTEON TX2 SoC.
> >
> > Ankur Dwivedi (5):
> >   crypto/octeontx2: add PMD skeleton
> >   crypto/octeontx2: add device control ops
> >   crypto/octeontx2: add hardware definitions
> >   crypto/octeontx2: add session related functions
> >   crypto/octeontx2: add dequeue burst
> >
> > Anoob Joseph (6):
> >   crypto/octeontx2: add device init sequence in probe
> >   crypto/octeontx2: add symmetric capabilities
> >   crypto/octeontx2: add queue pair functions
> >   crypto/octeontx2: add enqueue burst
> >   test: add OCTEON TX2 tests
> >   doc: add documentation for OCTEON TX2 crypto PMD
> >
> >  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         | 112 ++-
> >  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       |  62 ++
> >  doc/guides/cryptodevs/index.rst                    |   1 +
> >  doc/guides/cryptodevs/octeontx2.rst                | 142 ++++
> >  doc/guides/platform/octeontx2.rst                  |   3 +
> >  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                         |   4 +-
> >  drivers/crypto/octeontx2/Makefile                  |  50 ++
> >  drivers/crypto/octeontx2/meson.build               |  34 +
> >  drivers/crypto/octeontx2/otx2_cryptodev.c          | 158 ++++
> >  drivers/crypto/octeontx2/otx2_cryptodev.h          |  39 +
> >  .../crypto/octeontx2/otx2_cryptodev_capabilities.c | 604
> > +++++++++++++++  .../crypto/octeontx2/otx2_cryptodev_capabilities.h |
> > 16 +
> >  .../crypto/octeontx2/otx2_cryptodev_hw_access.c    | 225 ++++++
> >  .../crypto/octeontx2/otx2_cryptodev_hw_access.h    | 223 ++++++
> >  drivers/crypto/octeontx2/otx2_cryptodev_mbox.c     | 175 +++++
> >  drivers/crypto/octeontx2/otx2_cryptodev_mbox.h     |  25 +
> >  drivers/crypto/octeontx2/otx2_cryptodev_ops.c      | 839
> > +++++++++++++++++++++
> >  drivers/crypto/octeontx2/otx2_cryptodev_ops.h      |  20 +
> >  .../octeontx2/rte_pmd_octeontx2_crypto_version.map |   4 +
> >  mk/rte.app.mk                                      |   6 +-
> >  33 files changed, 3164 insertions(+), 70 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