public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Geetha sowjanya <gakula@marvell.com>
To: <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-crypto@vger.kernel.org>
Cc: <davem@davemloft.net>, <kuba@kernel.org>, <sgoutham@marvell.com>,
	<lcherian@marvell.com>, <hkelam@marvell.com>,
	<sbhatta@marvell.com>, <jerinj@marvell.com>,
	<bbrezillon@kernel.org>, <arno@natisbad.org>,
	<schalla@marvell.com>, Geetha sowjanya <gakula@marvell.com>
Subject: [net-next v5 00/14] Add Marvell CN10K support
Date: Thu, 11 Feb 2021 07:16:17 +0530	[thread overview]
Message-ID: <20210211014631.9578-1-gakula@marvell.com> (raw)

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

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   | 315 ++++++---
 .../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    | 182 ++++++
 .../ethernet/marvell/octeontx2/nic/cn10k.h    |  17 +
 .../marvell/octeontx2/nic/otx2_common.c       | 147 +++--
 .../marvell/octeontx2/nic/otx2_common.h       | 111 +++-
 .../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, 2612 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

-- 
2.17.1


             reply	other threads:[~2021-02-11  1:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-11  1:46 Geetha sowjanya [this message]
2021-02-11  1:46 ` [net-next v5 01/14] octeontx2-af: cn10k: Add mbox support for CN10K platform Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 02/14] octeontx2-pf: cn10k: Add mbox support for CN10K Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 03/14] octeontx2-af: cn10k: Update NIX/NPA context structure Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 04/14] octeontx2-af: cn10k: Update NIX and NPA context in debugfs Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 05/14] octeontx2-pf: cn10k: Initialise NIX context Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 06/14] octeontx2-pf: cn10k: Map LMTST region Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 07/14] octeontx2-pf: cn10k: Use LMTST lines for NPA/NIX operations Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 08/14] octeontx2-af: cn10k: Add RPM MAC support Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 09/14] octeontx2-af: cn10k: Add support for programmable channels Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 10/14] octeontx2-af: cn10K: Add MTU configuration Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 11/14] octeontx2-pf: cn10k: Get max mtu supported from admin function Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 12/14] octeontx2-af: cn10k: Add RPM LMAC pause frame support Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 13/14] octeontx2-af: cn10k: Add RPM Rx/Tx stats support Geetha sowjanya
2021-02-11  1:46 ` [net-next v5 14/14] octeontx2-af: cn10k: MAC internal loopback support Geetha sowjanya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210211014631.9578-1-gakula@marvell.com \
    --to=gakula@marvell.com \
    --cc=arno@natisbad.org \
    --cc=bbrezillon@kernel.org \
    --cc=davem@davemloft.net \
    --cc=hkelam@marvell.com \
    --cc=jerinj@marvell.com \
    --cc=kuba@kernel.org \
    --cc=lcherian@marvell.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sbhatta@marvell.com \
    --cc=schalla@marvell.com \
    --cc=sgoutham@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox