Skip to content

Add Support for Marvell OcteonTX2 Cryptographic

Srujana Challa netdev 11 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest3 patches 0 repliesApplied 3/3
  2. v912 patches 9 repliesSuperseded
  3. v8 posting 2/212 patches 9 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v8 posting 1/212 patches1 replySuperseded
v713 patches7 repliesSuperseded
v613 patches0 repliesSuperseded
v513 patches1 replySuperseded
v413 patches1 replySuperseded
v34 patches6 repliesSuperseded
v23 patches12 repliesSuperseded
v14 patches5 repliesSuperseded

Changes in v10 from the cover letter

* Dropped CPT PF & VF driver patches to submit to cryptodev-2.6 in next release cycle.

Patches in v10 All 3 applied

#Subject and filesSizeRepliesApplied
1/3octeontx2-pf: move lmt flush to include/linux/socMAINTAINERS drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h include/linux/soc/marvell/octeontx2/asm.h+32 -120 repliesApplied
2/3octeontx2-af: add mailbox interface for CPTdrivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c +1 more+325 -70 repliesApplied
3/3octeontx2-af: add debugfs entries for CPT blockdrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c+273 -00 repliesApplied

Reviews trailers per patch

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

Read the v10 thread

Cover letter [PATCH v10,net-next,0/3] Add Support for Marvell OcteonTX2 Cryptographic

This patchset adds support for CPT in OcteonTX2 admin function(AF). CPT is a cryptographic accelerator unit and it includes microcoded Giga Cipher engines.

OcteonTX2 SOC's resource virtualization unit (RVU) supports multiple physical and virtual functions. Each of the PF/VF's functionality is determined by what kind of resources are attached to it. When the CPT block is attached to a VF, it can function as a security device. The following document provides an overview of the hardware and different drivers for the OcteonTX2 SOC:
https://www.kernel.org/doc/Documentation/networking/device_drivers/marvell/octeontx2.rst

This patch series includes:
- Patch to update existing Marvell sources to support CPT.
- Patch that adds mailbox messages to the admin function (AF) driver, to configure CPT HW registers.
- Patch to provide debug information about CPT.

Changes since v9:
* Dropped CPT PF & VF driver patches to submit to cryptodev-2.6 in next release cycle.
Changes since v8:
* Load firmware files individually instead of tar.
Changes since v7:
* Removed writable entries in debugfs.
* Dropped IPsec support.
Changes since v6:
* Removed driver version.
Changes since v4:
* Rebased the patches onto net-next tree with base
'commit bc081a693a56 ("Merge branch 'Offload-tc-vlan-mangle-to-mscc_ocelot-switch'")'
Changes since v3:
* Splitup the patches into smaller patches with more informartion.
Changes since v2:
* Fixed C=1 warnings.
* Added code to exit CPT VF driver gracefully.
* Moved OcteonTx2 asm code to a header file under include/linux/soc/
Changes since v1:
* Moved Makefile changes from patch4 to patch2 and patch3.

Srujana Challa (3):
octeontx2-pf: move lmt flush to include/linux/soc
octeontx2-af: add mailbox interface for CPT
octeontx2-af: add debugfs entries for CPT block

 MAINTAINERS                                   |   2 +
 .../ethernet/marvell/octeontx2/af/Makefile    |   3 +-
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  33 +++
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |   1 +
 .../ethernet/marvell/octeontx2/af/rvu_cpt.c   | 233 +++++++++++++++
 .../marvell/octeontx2/af/rvu_debugfs.c        | 272 ++++++++++++++++++
 .../ethernet/marvell/octeontx2/af/rvu_reg.h   |  63 +++-
 .../marvell/octeontx2/nic/otx2_common.h       |  13 +-
 include/linux/soc/marvell/octeontx2/asm.h     |  29 ++
 9 files changed, 630 insertions(+), 19 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c
 create mode 100644 include/linux/soc/marvell/octeontx2/asm.h
Signature · 1 line
2.29.0