Skip to content

crypto: octeontx2: hardware configuration for inline IPsec

Srujana Challa linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: octeontx2: add support for AF to CPT PF uplink mboxdrivers/crypto/marvell/octeontx2/otx2_cptpf.h drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c+98 -20 replies
2/2crypto: octeontx2: hardware configuration for inline IPsecdrivers/crypto/marvell/octeontx2/otx2_cpt_common.h drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c drivers/crypto/marvell/octeontx2/otx2_cptlf.c +7 more+261 -380 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.25.1