Skip to content

Add Marvell CN10K support

Geetha sowjanya linux-crypto lkml netdev oe-kbuild-all 6 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. v6 Latest14 patches 0 repliesApplied 14/14
  2. v514 patches 0 repliesSuperseded
  3. v414 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v314 patches2 repliesSuperseded
v214 patches1 replySuperseded
v114 patches1 replySuperseded

Patches in v6 All 14 applied

#Subject and filesSizeRepliesApplied
1/14octeontx2-af: cn10k: Add mbox support for CN10K platformdrivers/net/ethernet/marvell/octeontx2/af/mbox.c drivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/ptp.c +3 more+191 -360 repliesApplied
2/14octeontx2-pf: cn10k: Add mbox support for CN10Kdrivers/net/ethernet/marvell/octeontx2/nic/Makefile drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +3 more+73 -270 repliesApplied
3/14octeontx2-af: cn10k: Update NIX/NPA context structuredrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h+223 -4240 repliesApplied
4/14octeontx2-af: cn10k: Update NIX and NPA context in debugfsdrivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c+175 -20 repliesApplied
5/14octeontx2-pf: cn10k: Initialise NIX contextdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_struct.h+80 -310 repliesApplied
6/14octeontx2-pf: cn10k: Map LMTST regiondrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c+100 -40 repliesApplied
7/14octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operationsdrivers/net/ethernet/marvell/octeontx2/nic/Makefile drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h +8 more+336 -1350 repliesApplied
8/14octeontx2-af: cn10k: Add RPM MAC supportMAINTAINERS drivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/cgx.c +9 more+479 -1060 repliesApplied
9/14octeontx2-af: cn10k: Add support for programmable channelsMAINTAINERS drivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/cgx.c +9 more+360 -170 repliesApplied
10/14octeontx2-af: cn10K: Add MTU configurationdrivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h +8 more+138 -120 repliesApplied
11/14octeontx2-pf: cn10k: Get max mtu supported from admin functiondrivers/net/ethernet/marvell/octeontx2/nic/cn10k.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h +4 more+97 -180 repliesApplied
12/14octeontx2-af: cn10k: Add RPM LMAC pause frame supportdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h drivers/net/ethernet/marvell/octeontx2/af/rpm.c +3 more+201 -230 repliesApplied
13/14octeontx2-af: cn10k: Add RPM Rx/Tx stats supportdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h +5 more+227 -260 repliesApplied
14/14octeontx2-af: cn10k: MAC internal loopback supportdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h +3 more+61 -60 repliesApplied

Reviews trailers per patch

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

Read the v6 thread

Cover letter [net-next v6 00/14] Add Marvell CN10K support

The current admin function (AF) driver and the netdev driver supports OcteonTx2 silicon variants. The same OcteonTx2's
Resource Virtualization Unit (RVU) is carried forward to the next-gen silicon ie OcteonTx3, with some changes and feature enhancements.

This patch set adds support for OcteonTx3 (CN10K) silicon and gets the drivers to the same level as OcteonTx2. No new OcteonTx3 specific features are added.

Changes cover below HW level differences
- PCIe BAR address changes wrt shared mailbox memory region
- Receive buffer freeing to HW
- Transmit packet's descriptor submission to HW
- Programmable HW interface identifiers (channels)
- Increased MTU support
- A Serdes MAC block (RPM) configuration

v5-v6
Rebased on top of latest net-next branch.

v4-v5
Fixed sparse warnings.

v3-v4
Fixed compiler warnings.

v2-v3
Reposting as a single thread.
Rebased on top latest net-next branch.

v1-v2
Fixed check-patch reported issues.

Geetha sowjanya (5):
octeontx2-af: cn10k: Update NIX/NPA context structure
octeontx2-af: cn10k: Update NIX and NPA context in debugfs
octeontx2-pf: cn10k: Initialise NIX context
octeontx2-pf: cn10k: Map LMTST region
octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operations

Hariprasad Kelam (5):
octeontx2-af: cn10k: Add RPM MAC support
octeontx2-af: cn10K: Add MTU configuration
octeontx2-pf: cn10k: Get max mtu supported from admin function
octeontx2-af: cn10k: Add RPM Rx/Tx stats support
octeontx2-af: cn10k: MAC internal loopback support

Rakesh Babu (1):
octeontx2-af: cn10k: Add RPM LMAC pause frame support

Subbaraya Sundeep (3):
octeontx2-af: cn10k: Add mbox support for CN10K platform
octeontx2-pf: cn10k: Add mbox support for CN10K
octeontx2-af: cn10k: Add support for programmable channels

 MAINTAINERS                                   |   2 +
 .../ethernet/marvell/octeontx2/af/Makefile    |  10 +-
 .../net/ethernet/marvell/octeontx2/af/cgx.c   | 313 ++++++---
 .../net/ethernet/marvell/octeontx2/af/cgx.h   |  15 +-
 .../ethernet/marvell/octeontx2/af/cgx_fw_if.h |   1 +
 .../ethernet/marvell/octeontx2/af/common.h    |   5 +
 .../marvell/octeontx2/af/lmac_common.h        | 131 ++++
 .../net/ethernet/marvell/octeontx2/af/mbox.c  |  59 +-
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  70 +-
 .../net/ethernet/marvell/octeontx2/af/ptp.c   |  12 +
 .../net/ethernet/marvell/octeontx2/af/rpm.c   | 272 ++++++++
 .../net/ethernet/marvell/octeontx2/af/rpm.h   |  57 ++
 .../net/ethernet/marvell/octeontx2/af/rvu.c   | 159 ++++-
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |  71 ++
 .../ethernet/marvell/octeontx2/af/rvu_cgx.c   | 134 +++-
 .../ethernet/marvell/octeontx2/af/rvu_cn10k.c | 261 ++++++++
 .../marvell/octeontx2/af/rvu_debugfs.c        | 339 +++++++++-
 .../ethernet/marvell/octeontx2/af/rvu_nix.c   | 112 +++-
 .../ethernet/marvell/octeontx2/af/rvu_npc.c   |   4 +-
 .../ethernet/marvell/octeontx2/af/rvu_reg.h   |  24 +
 .../marvell/octeontx2/af/rvu_struct.h         | 604 ++++++------------
 .../ethernet/marvell/octeontx2/nic/Makefile   |  10 +-
 .../ethernet/marvell/octeontx2/nic/cn10k.c    | 181 ++++++
 .../ethernet/marvell/octeontx2/nic/cn10k.h    |  17 +
 .../marvell/octeontx2/nic/otx2_common.c       | 150 +++--
 .../marvell/octeontx2/nic/otx2_common.h       | 112 +++-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |  73 ++-
 .../ethernet/marvell/octeontx2/nic/otx2_reg.h |   4 +
 .../marvell/octeontx2/nic/otx2_struct.h       |  10 +-
 .../marvell/octeontx2/nic/otx2_txrx.c         |  72 ++-
 .../marvell/octeontx2/nic/otx2_txrx.h         |   8 +-
 .../ethernet/marvell/octeontx2/nic/otx2_vf.c  |  52 +-
 include/linux/soc/marvell/octeontx2/asm.h     |   8 +
 33 files changed, 2613 insertions(+), 739 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rpm.c
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rpm.h
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h
Signature · 1 line
2.17.1