netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/16] octeontx2-af: SSO, TIM HW blocks and other config support
@ 2019-11-20 17:47 sunil.kovvuri
  2019-11-20 17:47 ` [PATCH v3 01/16] octeontx2-af: Interface backpressure configuration support sunil.kovvuri
                   ` (15 more replies)
  0 siblings, 16 replies; 24+ messages in thread
From: sunil.kovvuri @ 2019-11-20 17:47 UTC (permalink / raw)
  To: netdev; +Cc: davem, jakub.kicinski, Sunil Goutham

From: Sunil Goutham <sgoutham@marvell.com>

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

-- 
2.7.4


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

end of thread, other threads:[~2019-11-21 20:17 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-20 17:47 [PATCH v3 00/16] octeontx2-af: SSO, TIM HW blocks and other config support sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 01/16] octeontx2-af: Interface backpressure configuration support sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 02/16] octeontx2-af: Add support for importing firmware data sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 03/16] octeontx2-af: Cleanup CGX config permission checks sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 04/16] octeontx2-af: Ingress and egress pause frame configuration sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 05/16] octeontx2-af: Set discovery ID for RVUM block sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 06/16] octeontx2-af: add debug msgs for NPA block errors sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 07/16] octeontx2-af: add debug msgs for NIX " sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 08/16] octeontx2-af: Add SSO unit support to the AF driver sunil.kovvuri
2019-11-20 17:47 ` [PATCH v3 09/16] octeontx2-af: Config support for per HWGRP thresholds sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 10/16] octeontx2-af: add debug msgs for SSO block errors sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 11/16] octeontx2-af: add debugfs support for sso sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 12/16] octeontx2-af: Add TIM unit support sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 13/16] octeontx2-af: verify ingress channel in MCAM entry sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 14/16] octeontx2-af: NPC Tx parsed data key extraction profile sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 15/16] octeontx2-af: Support to get CGX link info like current speed, fec etc sunil.kovvuri
2019-11-20 17:48 ` [PATCH v3 16/16] Documentation: net: octeontx2: Add RVU HW and drivers overview sunil.kovvuri
2019-11-21  0:41   ` Jakub Kicinski
2019-11-21  2:49     ` Sunil Kovvuri
2019-11-21 18:43       ` Jakub Kicinski
2019-11-21 19:13         ` Sunil Kovvuri
2019-11-21 19:23           ` Jakub Kicinski
2019-11-21 19:45             ` Sunil Kovvuri
2019-11-21 20:17             ` David Miller

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).