Skip to content

Add Marvell CN10KB/CN10KA B0 support

Srujana Challa linux-crypto linux-doc netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Changes in v1 from the cover letter

- Documented devlink parameters supported by octeontx2 CPT driver.
---

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10crypto: octeontx2: remove CPT block resetdrivers/crypto/marvell/octeontx2/otx2_cptpf_main.c+0 -430 replies
2/10crypto: octeontx2: add SGv2 support for CN10KB or CN10KA B0drivers/crypto/marvell/octeontx2/cn10k_cpt.c drivers/crypto/marvell/octeontx2/cn10k_cpt.h drivers/crypto/marvell/octeontx2/otx2_cpt_common.h +11 more+444 -1772 replies
3/10crypto: octeontx2: add devlink option to set max_rxc_icb_cntDocumentation/crypto/device_drivers/index.rst Documentation/crypto/device_drivers/octeontx2.rst Documentation/crypto/index.rst +5 more+122 -00 replies
4/10crypto: octeontx2: add devlink option to set t106 modeDocumentation/crypto/device_drivers/octeontx2.rst drivers/crypto/marvell/octeontx2/otx2_cpt_common.h drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c +1 more+59 -70 replies
5/10crypto: octeontx2: remove errata workaround for CN10KB or CN10KA B0 chip.drivers/crypto/marvell/octeontx2/otx2_cpt_common.h drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c+14 -40 replies
6/10crypto: octeontx2: add LF reset on queue disabledrivers/crypto/marvell/octeontx2/otx2_cpt_common.h drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c drivers/crypto/marvell/octeontx2/otx2_cptlf.h +2 more+86 -290 replies
7/10octeontx2-af: update CPT inbound inline IPsec mailboxdrivers/crypto/marvell/octeontx2/otx2_cpt_common.h drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c+9 -10 replies
8/10crypto: octeontx2: add ctx_val workarounddrivers/crypto/marvell/octeontx2/cn10k_cpt.c drivers/crypto/marvell/octeontx2/cn10k_cpt.h drivers/crypto/marvell/octeontx2/otx2_cpt_hw_types.h +4 more+133 -10 replies
9/10crypto/octeontx2: register error interrupts for inline cptlfdrivers/crypto/marvell/octeontx2/otx2_cptlf.c drivers/crypto/marvell/octeontx2/otx2_cptlf.h drivers/crypto/marvell/octeontx2/otx2_cptpf.h +3 more+149 -551 reply
10/10crypto: octeontx2: support setting ctx ilen for inline CPT LFdrivers/crypto/marvell/octeontx2/otx2_cpt_common.h drivers/crypto/marvell/octeontx2/otx2_cpt_hw_types.h drivers/crypto/marvell/octeontx2/otx2_cptlf.c +2 more+60 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 00/10] Add Marvell CN10KB/CN10KA B0 support

Marvell OcteonTX2's next gen platform CN10KB/CN10KA B0 introduced changes in CPT SG input format(SGv2) to make it compatibile with NIX SG input format, to support inline IPsec in SG mode.

This patchset modifies the octeontx2 CPT driver code to support SGv2 format for CN10KB/CN10KA B0. And also adds code to configure newly introduced HW registers. This patchset also implements SW workaround for couple of HW erratas.

---
v1:
- Documented devlink parameters supported by octeontx2 CPT driver.
---

Nithin Dabilpuram (2):
crypto/octeontx2: register error interrupts for inline cptlf
crypto: octeontx2: support setting ctx ilen for inline CPT LF

Srujana Challa (8):
crypto: octeontx2: remove CPT block reset
crypto: octeontx2: add SGv2 support for CN10KB or CN10KA B0
crypto: octeontx2: add devlink option to set max_rxc_icb_cnt
crypto: octeontx2: add devlink option to set t106 mode
crypto: octeontx2: remove errata workaround for CN10KB or CN10KA B0
chip.
crypto: octeontx2: add LF reset on queue disable
octeontx2-af: update CPT inbound inline IPsec mailbox
crypto: octeontx2: add ctx_val workaround

 Documentation/crypto/device_drivers/index.rst |   9 +
 .../crypto/device_drivers/octeontx2.rst       |  29 ++
 Documentation/crypto/index.rst                |   1 +
 drivers/crypto/marvell/octeontx2/cn10k_cpt.c  |  87 +++++-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.h  |  25 ++
 .../marvell/octeontx2/otx2_cpt_common.h       |  68 +++-
 .../marvell/octeontx2/otx2_cpt_devlink.c      |  88 +++++-
 .../marvell/octeontx2/otx2_cpt_hw_types.h     |   9 +-
 .../marvell/octeontx2/otx2_cpt_mbox_common.c  |  26 ++
 .../marvell/octeontx2/otx2_cpt_reqmgr.h       | 293 ++++++++++++++++++
 drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 131 +++++---
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h | 102 ++++--
 drivers/crypto/marvell/octeontx2/otx2_cptpf.h |   4 +
 .../marvell/octeontx2/otx2_cptpf_main.c       |  76 ++---
 .../marvell/octeontx2/otx2_cptpf_mbox.c       |  81 ++++-
 .../marvell/octeontx2/otx2_cptpf_ucode.c      |  49 +--
 .../marvell/octeontx2/otx2_cptpf_ucode.h      |   3 +-
 drivers/crypto/marvell/octeontx2/otx2_cptvf.h |   2 +
 .../marvell/octeontx2/otx2_cptvf_algs.c       |  31 ++
 .../marvell/octeontx2/otx2_cptvf_algs.h       |   5 +
 .../marvell/octeontx2/otx2_cptvf_main.c       |  25 +-
 .../marvell/octeontx2/otx2_cptvf_mbox.c       |  27 ++
 .../marvell/octeontx2/otx2_cptvf_reqmgr.c     | 162 +---------
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |  20 ++
 .../ethernet/marvell/octeontx2/af/rvu_cpt.c   |  14 +
 .../ethernet/marvell/octeontx2/af/rvu_reg.h   |   1 +
 26 files changed, 1063 insertions(+), 305 deletions(-)
 create mode 100644 Documentation/crypto/device_drivers/index.rst
 create mode 100644 Documentation/crypto/device_drivers/octeontx2.rst
Signature · 1 line
2.25.1