Skip to content

octeontx2-af: SSO, TIM HW blocks and other config support

[email protected] netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest16 patches 7 repliesIn review
  2. v215 patches 3 repliesSuperseded
  3. v115 patches 12 repliesSuperseded

Changes in v3 from the cover letter

* Added documentation to give a high level overview of HW and different drivers which will be upstreamed and how they interact.
* Fixed white space issues.
- Sugested by Jakub Kicinski

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16octeontx2-af: Interface backpressure configuration supportdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c+184 -70 replies
2/16octeontx2-af: Add support for importing firmware datadrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h +4 more+192 -90 replies
3/16octeontx2-af: Cleanup CGX config permission checksdrivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c+24 -310 replies
4/16octeontx2-af: Ingress and egress pause frame configurationdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/mbox.h +2 more+160 -00 replies
5/16octeontx2-af: Set discovery ID for RVUM blockdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h+25 -10 replies
6/16octeontx2-af: add debug msgs for NPA block errorsdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c +1 more+262 -10 replies
7/16octeontx2-af: add debug msgs for NIX block errorsdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +1 more+219 -00 replies
8/16octeontx2-af: Add SSO unit support to the AF driverdrivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu.c +3 more+1157 -40 replies
9/16octeontx2-af: Config support for per HWGRP thresholdsdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_sso.c+131 -00 replies
10/16octeontx2-af: add debug msgs for SSO block errorsdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_sso.c +1 more+223 -00 replies
11/16octeontx2-af: add debugfs support for ssodrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c+702 -00 replies
12/16octeontx2-af: Add TIM unit support.drivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu.c +3 more+429 -40 replies
13/16octeontx2-af: verify ingress channel in MCAM entrydrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c+50 -20 replies
14/16octeontx2-af: NPC Tx parsed data key extraction profiledrivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c+191 -500 replies
15/16octeontx2-af: Support to get CGX link info like current speed, fec etcdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/cgx_fw_if.h +3 more+542 -300 replies
16/16Documentation: net: octeontx2: Add RVU HW and drivers overview.Documentation/networking/device_drivers/index.rst Documentation/networking/device_drivers/marvell/octeontx2.rst Documentation/networking/device_drivers/marvell/resource_virtualization_unit.svg +1 more+3461 -07 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/16] octeontx2-af: SSO, TIM HW blocks and other config support

From: Sunil Goutham <[email protected]>

SO HW block provides packet (or work) queueing, scheduling and synchronization. Also supports priorities and ordering. TIM or the timer HW block enables software to schedule SSO work for a future time.

This patch series adds support for SSO and TIM HW blocks, enables them to be configured and used by RVU PF/VF devices or drivers.

Also added support for
- Backpressure configuration.
- Pause frames or flow control enabling/disabling.
- Added a shared data structure between firmware and RVU admin function (AF) which will be used to get static information like interface MAC addresses, link modes, speeds, autoneg support etc.
- FEC (Forward error correction) config support for CGX.
- Retrieve FEC stats, PHY EEPROM etc from firmware
- Retrieving CGX LMAC info and to toggle it.
- Added debug prints for each of error interrupts raised by NIX, NPA and SSO blocks. These will help in identifying configuration and underlying HW functionality issues.

Changes from v2:
* Added documentation to give a high level overview of HW and different drivers which will be upstreamed and how they interact.
* Fixed white space issues.
- Sugested by Jakub Kicinski

Changes from v1:
* Made changes to TIM HW block support patch to use generic API to get HW ticks.
* Removed inline keyword
- Suggested by David Miller.
* Fixed sparse warnings
- Reported by Kbuild test robot.

Andrew Pinski (1):
octeontx2-af: Add TIM unit support.

Christina Jacob (1):
octeontx2-af: Support to get CGX link info like current speed, fec etc

Geetha sowjanya (2):
octeontx2-af: Interface backpressure configuration support
octeontx2-af: Ingress and egress pause frame configuration

Jerin Jacob (2):
octeontx2-af: add debug msgs for NPA block errors
octeontx2-af: add debug msgs for NIX block errors

Kiran Kumar K (1):
octeontx2-af: NPC Tx parsed data key extraction profile

Linu Cherian (1):
octeontx2-af: Add support for importing firmware data

Pavan Nikhilesh (3):
octeontx2-af: Config support for per HWGRP thresholds
octeontx2-af: add debug msgs for SSO block errors
octeontx2-af: add debugfs support for sso

Radha Mohan Chintakuntla (1):
octeontx2-af: Add SSO unit support to the AF driver

Subbaraya Sundeep (1):
octeontx2-af: verify ingress channel in MCAM entry

Sunil Goutham (3):
octeontx2-af: Cleanup CGX config permission checks
octeontx2-af: Set discovery ID for RVUM block
Documentation: net: octeontx2: Add RVU HW and drivers overview.

 Documentation/networking/device_drivers/index.rst  |    1 +
 .../device_drivers/marvell/octeontx2.rst           |  162 +
 .../marvell/resource_virtualization_unit.svg       | 3297 ++++++++++++++++++++
 MAINTAINERS                                        |    1 +
 drivers/net/ethernet/marvell/octeontx2/af/Makefile |    3 +-
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c    |  434 ++-
 drivers/net/ethernet/marvell/octeontx2/af/cgx.h    |   26 +-
 .../net/ethernet/marvell/octeontx2/af/cgx_fw_if.h  |   78 +-
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |  322 +-
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c    |  197 +-
 drivers/net/ethernet/marvell/octeontx2/af/rvu.h    |   72 +
 .../net/ethernet/marvell/octeontx2/af/rvu_cgx.c    |  178 +-
 .../ethernet/marvell/octeontx2/af/rvu_debugfs.c    |  699 +++++
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |  388 ++-
 .../net/ethernet/marvell/octeontx2/af/rvu_npa.c    |  243 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    |  282 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_reg.h    |  192 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_sso.c    | 1146 +++++++
 .../net/ethernet/marvell/octeontx2/af/rvu_struct.h |   44 +
 .../net/ethernet/marvell/octeontx2/af/rvu_tim.c    |  322 ++
 20 files changed, 7950 insertions(+), 137 deletions(-)
 create mode 100644 Documentation/networking/device_drivers/marvell/octeontx2.rst
 create mode 100644 Documentation/networking/device_drivers/marvell/resource_virtualization_unit.svg
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_sso.c
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_tim.c
Signature · 1 line
2.7.4