[v2,00/33] Adding Cavium's OcteonTX crypto PMD
mbox series

Message ID 1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com
Headers show
Series
  • Adding Cavium's OcteonTX crypto PMD
Related show

Message

Anoob Joseph Sept. 4, 2018, 3:58 a.m. UTC
Ankur Dwivedi (5):
  config: add Cavium OcteonTX crypto PMD skeleton
  common/cpt: add common logging support
  crypto/octeontx: add PCI probe and remove
  crypto/octeontx: add register addresses
  test: adds validation test

Anoob Joseph (5):
  common/cpt: add common code for init routine
  crypto/octeontx: add hardware init routine
  common/cpt: add hardware register defines
  crypto/octeontx: add hardware register access for misc poll
  doc: adds doc file

Murthy NSSR (5):
  crypto/octeontx: adds symmetric capabilities
  common/cpt: add PMD ops helper functions
  crypto/octeontx: add global resource init
  crypto/octeontx: add mailbox routines
  crypto/octeontx: add basic dev ops

Nithin Dabilpuram (5):
  common/cpt: add common macros for queue pair ops
  crypto/octeontx: add queue pair functions
  common/cpt: add common code required for session management
  crypto/octeontx: add session management ops
  common/cpt: add common code for fill session data

Ragothaman Jayaraman (5):
  crypto/octeontx: add supported sessions
  common/cpt: add common defines for microcode
  common/cpt: add microcode interface for encryption
  common/cpt: add microcode interface for decryption
  common/cpt: add crypo op enqueue request manager framework

Srisivasubramanian S (5):
  common/cpt: add support for zuc and snow3g
  common/cpt: add support for kasumi
  common/cpt: add support for hash
  crypto/octeontx: add routines to prepare instructions
  common/cpt: add common code for enqueuing cpt instruction

Tejasree Kondoj (3):
  crypto/octeontx: add enqueue burst op
  common/cpt: add common code for cpt dequeue
  crypto/octeontx: add dequeue burst op

 MAINTAINERS                                        |    7 +
 config/common_base                                 |    5 +
 doc/guides/cryptodevs/features/octeontx.ini        |   60 +
 doc/guides/cryptodevs/octeontx.rst                 |  121 +
 drivers/common/Makefile                            |    4 +
 drivers/common/cpt/Makefile                        |   25 +
 drivers/common/cpt/cpt_common.h                    |  103 +
 drivers/common/cpt/cpt_hw_types.h                  |  521 +++
 drivers/common/cpt/cpt_mcode_defines.h             |  378 ++
 drivers/common/cpt/cpt_pmd_logs.h                  |   52 +
 drivers/common/cpt/cpt_pmd_ops_helper.c            |   41 +
 drivers/common/cpt/cpt_pmd_ops_helper.h            |   34 +
 drivers/common/cpt/cpt_request_mgr.h               |  189 +
 drivers/common/cpt/cpt_ucode.h                     | 3646 ++++++++++++++++++++
 drivers/common/cpt/meson.build                     |    8 +
 drivers/common/cpt/rte_common_cpt_version.map      |    6 +
 drivers/common/meson.build                         |    2 +-
 drivers/crypto/Makefile                            |    1 +
 drivers/crypto/meson.build                         |    2 +-
 drivers/crypto/octeontx/Makefile                   |   45 +
 drivers/crypto/octeontx/meson.build                |   17 +
 drivers/crypto/octeontx/otx_cryptodev.c            |  135 +
 drivers/crypto/octeontx/otx_cryptodev.h            |   20 +
 .../crypto/octeontx/otx_cryptodev_capabilities.h   |  595 ++++
 drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  609 ++++
 drivers/crypto/octeontx/otx_cryptodev_hw_access.h  |  320 ++
 drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  180 +
 drivers/crypto/octeontx/otx_cryptodev_mbox.h       |   92 +
 drivers/crypto/octeontx/otx_cryptodev_ops.c        |  532 +++
 drivers/crypto/octeontx/otx_cryptodev_ops.h        |   18 +
 .../octeontx/rte_pmd_octeontx_crypto_version.map   |    4 +
 mk/rte.app.mk                                      |    5 +
 test/test/meson.build                              |    1 +
 test/test/test_cryptodev.c                         |  308 ++
 test/test/test_cryptodev.h                         |    1 +
 test/test/test_cryptodev_aes_test_vectors.h        |   96 +-
 test/test/test_cryptodev_blockcipher.c             |    9 +-
 test/test/test_cryptodev_blockcipher.h             |    1 +
 test/test/test_cryptodev_des_test_vectors.h        |   12 +-
 test/test/test_cryptodev_hash_test_vectors.h       |   72 +-
 40 files changed, 8214 insertions(+), 63 deletions(-)
 create mode 100644 doc/guides/cryptodevs/features/octeontx.ini
 create mode 100644 doc/guides/cryptodevs/octeontx.rst
 create mode 100644 drivers/common/cpt/Makefile
 create mode 100644 drivers/common/cpt/cpt_common.h
 create mode 100644 drivers/common/cpt/cpt_hw_types.h
 create mode 100644 drivers/common/cpt/cpt_mcode_defines.h
 create mode 100644 drivers/common/cpt/cpt_pmd_logs.h
 create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.c
 create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.h
 create mode 100644 drivers/common/cpt/cpt_request_mgr.h
 create mode 100644 drivers/common/cpt/cpt_ucode.h
 create mode 100644 drivers/common/cpt/meson.build
 create mode 100644 drivers/common/cpt/rte_common_cpt_version.map
 create mode 100644 drivers/crypto/octeontx/Makefile
 create mode 100644 drivers/crypto/octeontx/meson.build
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev.c
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev.h
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_capabilities.h
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.c
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.h
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.c
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.h
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.c
 create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.h
 create mode 100644 drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map

Comments

Anoob Joseph Sept. 14, 2018, 9:16 a.m. UTC | #1
Hi Akhil, Pablo,

Did you get a chance to look at the patches?

Anoob

On 04-09-2018 09:28, Anoob Joseph wrote:
> Ankur Dwivedi (5):
>    config: add Cavium OcteonTX crypto PMD skeleton
>    common/cpt: add common logging support
>    crypto/octeontx: add PCI probe and remove
>    crypto/octeontx: add register addresses
>    test: adds validation test
>
> Anoob Joseph (5):
>    common/cpt: add common code for init routine
>    crypto/octeontx: add hardware init routine
>    common/cpt: add hardware register defines
>    crypto/octeontx: add hardware register access for misc poll
>    doc: adds doc file
>
> Murthy NSSR (5):
>    crypto/octeontx: adds symmetric capabilities
>    common/cpt: add PMD ops helper functions
>    crypto/octeontx: add global resource init
>    crypto/octeontx: add mailbox routines
>    crypto/octeontx: add basic dev ops
>
> Nithin Dabilpuram (5):
>    common/cpt: add common macros for queue pair ops
>    crypto/octeontx: add queue pair functions
>    common/cpt: add common code required for session management
>    crypto/octeontx: add session management ops
>    common/cpt: add common code for fill session data
>
> Ragothaman Jayaraman (5):
>    crypto/octeontx: add supported sessions
>    common/cpt: add common defines for microcode
>    common/cpt: add microcode interface for encryption
>    common/cpt: add microcode interface for decryption
>    common/cpt: add crypo op enqueue request manager framework
>
> Srisivasubramanian S (5):
>    common/cpt: add support for zuc and snow3g
>    common/cpt: add support for kasumi
>    common/cpt: add support for hash
>    crypto/octeontx: add routines to prepare instructions
>    common/cpt: add common code for enqueuing cpt instruction
>
> Tejasree Kondoj (3):
>    crypto/octeontx: add enqueue burst op
>    common/cpt: add common code for cpt dequeue
>    crypto/octeontx: add dequeue burst op
>
>   MAINTAINERS                                        |    7 +
>   config/common_base                                 |    5 +
>   doc/guides/cryptodevs/features/octeontx.ini        |   60 +
>   doc/guides/cryptodevs/octeontx.rst                 |  121 +
>   drivers/common/Makefile                            |    4 +
>   drivers/common/cpt/Makefile                        |   25 +
>   drivers/common/cpt/cpt_common.h                    |  103 +
>   drivers/common/cpt/cpt_hw_types.h                  |  521 +++
>   drivers/common/cpt/cpt_mcode_defines.h             |  378 ++
>   drivers/common/cpt/cpt_pmd_logs.h                  |   52 +
>   drivers/common/cpt/cpt_pmd_ops_helper.c            |   41 +
>   drivers/common/cpt/cpt_pmd_ops_helper.h            |   34 +
>   drivers/common/cpt/cpt_request_mgr.h               |  189 +
>   drivers/common/cpt/cpt_ucode.h                     | 3646 ++++++++++++++++++++
>   drivers/common/cpt/meson.build                     |    8 +
>   drivers/common/cpt/rte_common_cpt_version.map      |    6 +
>   drivers/common/meson.build                         |    2 +-
>   drivers/crypto/Makefile                            |    1 +
>   drivers/crypto/meson.build                         |    2 +-
>   drivers/crypto/octeontx/Makefile                   |   45 +
>   drivers/crypto/octeontx/meson.build                |   17 +
>   drivers/crypto/octeontx/otx_cryptodev.c            |  135 +
>   drivers/crypto/octeontx/otx_cryptodev.h            |   20 +
>   .../crypto/octeontx/otx_cryptodev_capabilities.h   |  595 ++++
>   drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  609 ++++
>   drivers/crypto/octeontx/otx_cryptodev_hw_access.h  |  320 ++
>   drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  180 +
>   drivers/crypto/octeontx/otx_cryptodev_mbox.h       |   92 +
>   drivers/crypto/octeontx/otx_cryptodev_ops.c        |  532 +++
>   drivers/crypto/octeontx/otx_cryptodev_ops.h        |   18 +
>   .../octeontx/rte_pmd_octeontx_crypto_version.map   |    4 +
>   mk/rte.app.mk                                      |    5 +
>   test/test/meson.build                              |    1 +
>   test/test/test_cryptodev.c                         |  308 ++
>   test/test/test_cryptodev.h                         |    1 +
>   test/test/test_cryptodev_aes_test_vectors.h        |   96 +-
>   test/test/test_cryptodev_blockcipher.c             |    9 +-
>   test/test/test_cryptodev_blockcipher.h             |    1 +
>   test/test/test_cryptodev_des_test_vectors.h        |   12 +-
>   test/test/test_cryptodev_hash_test_vectors.h       |   72 +-
>   40 files changed, 8214 insertions(+), 63 deletions(-)
>   create mode 100644 doc/guides/cryptodevs/features/octeontx.ini
>   create mode 100644 doc/guides/cryptodevs/octeontx.rst
>   create mode 100644 drivers/common/cpt/Makefile
>   create mode 100644 drivers/common/cpt/cpt_common.h
>   create mode 100644 drivers/common/cpt/cpt_hw_types.h
>   create mode 100644 drivers/common/cpt/cpt_mcode_defines.h
>   create mode 100644 drivers/common/cpt/cpt_pmd_logs.h
>   create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.c
>   create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.h
>   create mode 100644 drivers/common/cpt/cpt_request_mgr.h
>   create mode 100644 drivers/common/cpt/cpt_ucode.h
>   create mode 100644 drivers/common/cpt/meson.build
>   create mode 100644 drivers/common/cpt/rte_common_cpt_version.map
>   create mode 100644 drivers/crypto/octeontx/Makefile
>   create mode 100644 drivers/crypto/octeontx/meson.build
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev.c
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev.h
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_capabilities.h
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.c
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.h
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.c
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.h
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.c
>   create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.h
>   create mode 100644 drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map
>
Akhil Goyal Sept. 14, 2018, 9:42 a.m. UTC | #2
Hi Anoob,

I would review it early next week.

Thanks,

Akhil

On 9/14/2018 2:46 PM, Joseph, Anoob wrote:

> Hi Akhil, Pablo,
> Did you get a chance to look at the patches?
> Anoob
> On 04-09-2018 09:28, Anoob Joseph wrote:
>> Ankur Dwivedi (5):
>>     config: add Cavium OcteonTX crypto PMD skeleton
>>     common/cpt: add common logging support
>>     crypto/octeontx: add PCI probe and remove
>>     crypto/octeontx: add register addresses
>>     test: adds validation test
>> Anoob Joseph (5):
>>     common/cpt: add common code for init routine
>>     crypto/octeontx: add hardware init routine
>>     common/cpt: add hardware register defines
>>     crypto/octeontx: add hardware register access for misc poll
>>     doc: adds doc file
>> Murthy NSSR (5):
>>     crypto/octeontx: adds symmetric capabilities
>>     common/cpt: add PMD ops helper functions
>>     crypto/octeontx: add global resource init
>>     crypto/octeontx: add mailbox routines
>>     crypto/octeontx: add basic dev ops
>> Nithin Dabilpuram (5):
>>     common/cpt: add common macros for queue pair ops
>>     crypto/octeontx: add queue pair functions
>>     common/cpt: add common code required for session management
>>     crypto/octeontx: add session management ops
>>     common/cpt: add common code for fill session data
>> Ragothaman Jayaraman (5):
>>     crypto/octeontx: add supported sessions
>>     common/cpt: add common defines for microcode
>>     common/cpt: add microcode interface for encryption
>>     common/cpt: add microcode interface for decryption
>>     common/cpt: add crypo op enqueue request manager framework
>> Srisivasubramanian S (5):
>>     common/cpt: add support for zuc and snow3g
>>     common/cpt: add support for kasumi
>>     common/cpt: add support for hash
>>     crypto/octeontx: add routines to prepare instructions
>>     common/cpt: add common code for enqueuing cpt instruction
>> Tejasree Kondoj (3):
>>     crypto/octeontx: add enqueue burst op
>>     common/cpt: add common code for cpt dequeue
>>     crypto/octeontx: add dequeue burst op
>>    MAINTAINERS                                        |    7 +
>>    config/common_base                                 |    5 +
>>    doc/guides/cryptodevs/features/octeontx.ini        |   60 +
>>    doc/guides/cryptodevs/octeontx.rst                 |  121 +
>>    drivers/common/Makefile                            |    4 +
>>    drivers/common/cpt/Makefile                        |   25 +
>>    drivers/common/cpt/cpt_common.h                    |  103 +
>>    drivers/common/cpt/cpt_hw_types.h                  |  521 +++
>>    drivers/common/cpt/cpt_mcode_defines.h             |  378 ++
>>    drivers/common/cpt/cpt_pmd_logs.h                  |   52 +
>>    drivers/common/cpt/cpt_pmd_ops_helper.c            |   41 +
>>    drivers/common/cpt/cpt_pmd_ops_helper.h            |   34 +
>>    drivers/common/cpt/cpt_request_mgr.h               |  189 +
>>    drivers/common/cpt/cpt_ucode.h                     | 3646 ++++++++++++++++++++
>>    drivers/common/cpt/meson.build                     |    8 +
>>    drivers/common/cpt/rte_common_cpt_version.map      |    6 +
>>    drivers/common/meson.build                         |    2 +-
>>    drivers/crypto/Makefile                            |    1 +
>>    drivers/crypto/meson.build                         |    2 +-
>>    drivers/crypto/octeontx/Makefile                   |   45 +
>>    drivers/crypto/octeontx/meson.build                |   17 +
>>    drivers/crypto/octeontx/otx_cryptodev.c            |  135 +
>>    drivers/crypto/octeontx/otx_cryptodev.h            |   20 +
>>    .../crypto/octeontx/otx_cryptodev_capabilities.h   |  595 ++++
>>    drivers/crypto/octeontx/otx_cryptodev_hw_access.c  |  609 ++++
>>    drivers/crypto/octeontx/otx_cryptodev_hw_access.h  |  320 ++
>>    drivers/crypto/octeontx/otx_cryptodev_mbox.c       |  180 +
>>    drivers/crypto/octeontx/otx_cryptodev_mbox.h       |   92 +
>>    drivers/crypto/octeontx/otx_cryptodev_ops.c        |  532 +++
>>    drivers/crypto/octeontx/otx_cryptodev_ops.h        |   18 +
>>    .../octeontx/rte_pmd_octeontx_crypto_version.map   |    4 +
>>    mk/rte.app.mk                                      |    5 +
>>    test/test/meson.build                              |    1 +
>>    test/test/test_cryptodev.c                         |  308 ++
>>    test/test/test_cryptodev.h                         |    1 +
>>    test/test/test_cryptodev_aes_test_vectors.h        |   96 +-
>>    test/test/test_cryptodev_blockcipher.c             |    9 +-
>>    test/test/test_cryptodev_blockcipher.h             |    1 +
>>    test/test/test_cryptodev_des_test_vectors.h        |   12 +-
>>    test/test/test_cryptodev_hash_test_vectors.h       |   72 +-
>>    40 files changed, 8214 insertions(+), 63 deletions(-)
>>    create mode 100644 doc/guides/cryptodevs/features/octeontx.ini
>>    create mode 100644 doc/guides/cryptodevs/octeontx.rst
>>    create mode 100644 drivers/common/cpt/Makefile
>>    create mode 100644 drivers/common/cpt/cpt_common.h
>>    create mode 100644 drivers/common/cpt/cpt_hw_types.h
>>    create mode 100644 drivers/common/cpt/cpt_mcode_defines.h
>>    create mode 100644 drivers/common/cpt/cpt_pmd_logs.h
>>    create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.c
>>    create mode 100644 drivers/common/cpt/cpt_pmd_ops_helper.h
>>    create mode 100644 drivers/common/cpt/cpt_request_mgr.h
>>    create mode 100644 drivers/common/cpt/cpt_ucode.h
>>    create mode 100644 drivers/common/cpt/meson.build
>>    create mode 100644 drivers/common/cpt/rte_common_cpt_version.map
>>    create mode 100644 drivers/crypto/octeontx/Makefile
>>    create mode 100644 drivers/crypto/octeontx/meson.build
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev.c
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev.h
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_capabilities.h
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.c
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_hw_access.h
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.c
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_mbox.h
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.c
>>    create mode 100644 drivers/crypto/octeontx/otx_cryptodev_ops.h
>>    create mode 100644 drivers/crypto/octeontx/rte_pmd_octeontx_crypto_version.map
>