octeontx2-af: SSO, TIM HW blocks and other config support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest16 patches 7 repliesIn review
- v215 patches 3 repliesSuperseded
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | octeontx2-af: Interface backpressure configuration supportdrivers/ drivers/ drivers/ | +184 | 0 replies | |
| 2/16 | octeontx2-af: Add support for importing firmware datadrivers/ drivers/ drivers/ +4 more | +192 | 0 replies | |
| 3/16 | octeontx2-af: Cleanup CGX config permission checksdrivers/ | +24 | 0 replies | |
| 4/16 | octeontx2-af: Ingress and egress pause frame configurationdrivers/ drivers/ drivers/ +2 more | +160 | 0 replies | |
| 5/16 | octeontx2-af: Set discovery ID for RVUM blockdrivers/ drivers/ | +25 | 0 replies | |
| 6/16 | octeontx2-af: add debug msgs for NPA block errorsdrivers/ drivers/ drivers/ +1 more | +262 | 0 replies | |
| 7/16 | octeontx2-af: add debug msgs for NIX block errorsdrivers/ drivers/ drivers/ +1 more | +219 | 0 replies | |
| 8/16 | octeontx2-af: Add SSO unit support to the AF driverdrivers/ drivers/ drivers/ +3 more | +1157 | 0 replies | |
| 9/16 | octeontx2-af: Config support for per HWGRP thresholdsdrivers/ drivers/ | +131 | 0 replies | |
| 10/16 | octeontx2-af: add debug msgs for SSO block errorsdrivers/ drivers/ drivers/ +1 more | +223 | 0 replies | |
| 11/16 | octeontx2-af: add debugfs support for ssodrivers/ drivers/ | +702 | 0 replies | |
| 12/16 | octeontx2-af: Add TIM unit support.drivers/ drivers/ drivers/ +3 more | +429 | 0 replies | |
| 13/16 | octeontx2-af: verify ingress channel in MCAM entrydrivers/ drivers/ drivers/ | +50 | 0 replies | |
| 14/16 | octeontx2-af: NPC Tx parsed data key extraction profiledrivers/ drivers/ | +191 | 0 replies | |
| 15/16 | octeontx2-af: Support to get CGX link info like current speed, fec etcdrivers/ drivers/ drivers/ +3 more | +542 | 0 replies | |
| 16/16 | Documentation: net: octeontx2: Add RVU HW and drivers overview.Documentation/ Documentation/ Documentation/ +1 more | +3461 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
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