mbox series

[0/2] crypto: octeontx2: hardware configuration for inline IPsec

Message ID 20230425140620.2031480-1-schalla@marvell.com (mailing list archive)
Headers show
Series crypto: octeontx2: hardware configuration for inline IPsec | expand

Message

Srujana Challa April 25, 2023, 2:06 p.m. UTC
On OcteonTX2/OctoenTX3 variants of silicon, Admin function (AF)
handles resource allocation and configuration for PFs and their VFs.
PFs request the AF directly, via mailboxes.
Unlike PFs, VFs cannot send a mailbox request directly. A VF sends
mailbox messages to its parent PF, with which it shares a
mailbox region. The PF then forwards these messages to the AF.

Patch1 adds AF to CPT PF uplink mbox to submit the CPT instructions
from AF.
Patch2 adds code to configure inline-IPsec HW resources for
CPT VFs as CPT VFs cannot send a mailbox request directly to AF.

Srujana Challa (2):
  crypto: octeontx2: add support for AF to CPT PF uplink mbox
  crypto: octeontx2: hardware configuration for inline IPsec

 .../marvell/octeontx2/otx2_cpt_common.h       |  15 ++
 .../marvell/octeontx2/otx2_cpt_mbox_common.c  |   3 +
 drivers/crypto/marvell/octeontx2/otx2_cptlf.c |  34 +--
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h |  33 ++-
 drivers/crypto/marvell/octeontx2/otx2_cptpf.h |   7 +
 .../marvell/octeontx2/otx2_cptpf_main.c       |  41 +++
 .../marvell/octeontx2/otx2_cptpf_mbox.c       | 247 +++++++++++++++++-
 .../marvell/octeontx2/otx2_cptpf_ucode.c      |  10 +-
 drivers/crypto/marvell/octeontx2/otx2_cptvf.h |   1 +
 .../marvell/octeontx2/otx2_cptvf_main.c       |   8 +-
 10 files changed, 359 insertions(+), 40 deletions(-)

Comments

Herbert Xu May 12, 2023, 10:59 a.m. UTC | #1
On Tue, Apr 25, 2023 at 07:36:18PM +0530, Srujana Challa wrote:
> On OcteonTX2/OctoenTX3 variants of silicon, Admin function (AF)
> handles resource allocation and configuration for PFs and their VFs.
> PFs request the AF directly, via mailboxes.
> Unlike PFs, VFs cannot send a mailbox request directly. A VF sends
> mailbox messages to its parent PF, with which it shares a
> mailbox region. The PF then forwards these messages to the AF.
> 
> Patch1 adds AF to CPT PF uplink mbox to submit the CPT instructions
> from AF.
> Patch2 adds code to configure inline-IPsec HW resources for
> CPT VFs as CPT VFs cannot send a mailbox request directly to AF.
> 
> Srujana Challa (2):
>   crypto: octeontx2: add support for AF to CPT PF uplink mbox
>   crypto: octeontx2: hardware configuration for inline IPsec
> 
>  .../marvell/octeontx2/otx2_cpt_common.h       |  15 ++
>  .../marvell/octeontx2/otx2_cpt_mbox_common.c  |   3 +
>  drivers/crypto/marvell/octeontx2/otx2_cptlf.c |  34 +--
>  drivers/crypto/marvell/octeontx2/otx2_cptlf.h |  33 ++-
>  drivers/crypto/marvell/octeontx2/otx2_cptpf.h |   7 +
>  .../marvell/octeontx2/otx2_cptpf_main.c       |  41 +++
>  .../marvell/octeontx2/otx2_cptpf_mbox.c       | 247 +++++++++++++++++-
>  .../marvell/octeontx2/otx2_cptpf_ucode.c      |  10 +-
>  drivers/crypto/marvell/octeontx2/otx2_cptvf.h |   1 +
>  .../marvell/octeontx2/otx2_cptvf_main.c       |   8 +-
>  10 files changed, 359 insertions(+), 40 deletions(-)
> 
> -- 
> 2.25.1

All applied.  Thanks.