netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next v3 00/14] Add Marvell CN10K support
@ 2021-02-04 11:24 Geetha sowjanya
  2021-02-04 20:04 ` Jesse Brandeburg
  0 siblings, 1 reply; 3+ messages in thread
From: Geetha sowjanya @ 2021-02-04 11:24 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: sgoutham, davem, kuba, sbhatta, hkelam, jerinj, lcherian,
	Geetha sowjanya

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

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

v1-v2
Fixed check-patch reported issues.

Geetha sowjanya (6):
  octeontx2-af: cn10k: Add mbox support for CN10K platform
  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 (2):
  octeontx2-pf: cn10k: Add mbox support for CN10K
  octeontx2-af: cn10k: Add support for programmable channels

 MAINTAINERS                                        |   2 +
 drivers/net/ethernet/marvell/octeontx2/af/Makefile |  10 +-
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c    | 315 ++++++++---
 drivers/net/ethernet/marvell/octeontx2/af/cgx.h    |  15 +-
 .../net/ethernet/marvell/octeontx2/af/cgx_fw_if.h  |   1 +
 drivers/net/ethernet/marvell/octeontx2/af/common.h |   5 +
 .../ethernet/marvell/octeontx2/af/lmac_common.h    | 131 +++++
 drivers/net/ethernet/marvell/octeontx2/af/mbox.c   |  59 +-
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  70 ++-
 drivers/net/ethernet/marvell/octeontx2/af/ptp.c    |  12 +
 drivers/net/ethernet/marvell/octeontx2/af/rpm.c    | 272 ++++++++++
 drivers/net/ethernet/marvell/octeontx2/af/rpm.h    |  57 ++
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c    | 159 +++++-
 drivers/net/ethernet/marvell/octeontx2/af/rvu.h    |  71 +++
 .../net/ethernet/marvell/octeontx2/af/rvu_cgx.c    | 134 ++++-
 .../net/ethernet/marvell/octeontx2/af/rvu_cn10k.c  | 261 +++++++++
 .../ethernet/marvell/octeontx2/af/rvu_debugfs.c    | 339 +++++++++++-
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    | 112 +++-
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    |   4 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_reg.h    |  24 +
 .../net/ethernet/marvell/octeontx2/af/rvu_struct.h | 604 ++++++---------------
 .../net/ethernet/marvell/octeontx2/nic/Makefile    |  10 +-
 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 182 +++++++
 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h |  17 +
 .../ethernet/marvell/octeontx2/nic/otx2_common.c   | 145 +++--
 .../ethernet/marvell/octeontx2/nic/otx2_common.h   | 105 +++-
 .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c   |  73 ++-
 .../net/ethernet/marvell/octeontx2/nic/otx2_reg.h  |   4 +
 .../ethernet/marvell/octeontx2/nic/otx2_struct.h   |  10 +-
 .../net/ethernet/marvell/octeontx2/nic/otx2_txrx.c |  70 ++-
 .../net/ethernet/marvell/octeontx2/nic/otx2_txrx.h |   8 +-
 .../net/ethernet/marvell/octeontx2/nic/otx2_vf.c   |  52 +-
 include/linux/soc/marvell/octeontx2/asm.h          |   8 +
 33 files changed, 2606 insertions(+), 735 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

-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [net-next v3 00/14] Add Marvell CN10K support
  2021-02-04 11:24 [net-next v3 00/14] Add Marvell CN10K support Geetha sowjanya
@ 2021-02-04 20:04 ` Jesse Brandeburg
  2021-02-04 20:27   ` Jakub Kicinski
  0 siblings, 1 reply; 3+ messages in thread
From: Jesse Brandeburg @ 2021-02-04 20:04 UTC (permalink / raw)
  To: Geetha sowjanya
  Cc: netdev, linux-kernel, sgoutham, davem, kuba, sbhatta, hkelam,
	jerinj, lcherian

Geetha sowjanya wrote:

> v2-v3
> Reposting as a single thread.

FYI, it didn't work, suggest you try adding the git-send-email option
(via git-config)

sendemail.thread=true
sendemail.chainreplyto=false

And you can test locally by using first using git send-email to export
to mbox and checking for References and In-Reply-to headers. Then
sending for real.

Good luck!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [net-next v3 00/14] Add Marvell CN10K support
  2021-02-04 20:04 ` Jesse Brandeburg
@ 2021-02-04 20:27   ` Jakub Kicinski
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2021-02-04 20:27 UTC (permalink / raw)
  To: Jesse Brandeburg
  Cc: Geetha sowjanya, netdev, linux-kernel, sgoutham, davem, sbhatta,
	hkelam, jerinj, lcherian

On Thu, 4 Feb 2021 12:04:54 -0800 Jesse Brandeburg wrote:
> Geetha sowjanya wrote:
> 
> > v2-v3
> > Reposting as a single thread.  
> 
> FYI, it didn't work, suggest you try adding the git-send-email option
> (via git-config)
> 
> sendemail.thread=true
> sendemail.chainreplyto=false
> 
> And you can test locally by using first using git send-email to export
> to mbox and checking for References and In-Reply-to headers. Then
> sending for real.

And looks like there are build issues so you'll get a chance to try
again :/

Please make sure you don't add any new warnings to the build, with W=1
C=1 flags. Each patch must build cleanly.

Shooting from the hip something along the lines of:

 make allmodconfig
 current=$(make W=1 C=1 | wc -l)

 git rebase --exec '[ $current -eq $(make W=1 C=1 | wc -l) ]'

Please do not repost until the tree can build cleanly at every commit
of the series.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-04 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 11:24 [net-next v3 00/14] Add Marvell CN10K support Geetha sowjanya
2021-02-04 20:04 ` Jesse Brandeburg
2021-02-04 20:27   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).