Merge branch 'net-lan969x-add-fdma-support'
authorJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:13:36 +0000 (14:13 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 22:13:36 +0000 (14:13 -0800)
commit586b298d59e22f93313bfbfad1d071be660bc9f0
tree85235f0984d2a15b542393e0844ea0e6e99cbcdf
parente80ed9770712f2b48f923f33c4eaacaa299ce68f
parentd84ad2c0d80c3ee1b7d758e2c07d043fcf32d568
Merge branch 'net-lan969x-add-fdma-support'

Daniel Machon says:

====================
net: lan969x: add FDMA support

== Description:

This series is the last of a multi-part series, that prepares and adds
support for the new lan969x switch driver.

The upstreaming efforts has been split into multiple series:

        1) Prepare the Sparx5 driver for lan969x (merged)

        2) Add support for lan969x (same basic features as Sparx5
           provides excl. FDMA and VCAP, merged).

        3) Add lan969x VCAP functionality (merged).

        4) Add RGMII support (merged).

    --> 5) Add FDMA support.

== FDMA support:

The lan969x switch device uses the same FDMA engine as the Sparx5 switch
device, with the same number of channels etc. This means we can utilize
the newly added FDMA library, that is already in use by the lan966x and
sparx5 drivers.

As previous lan969x series, the FDMA implementation will hook into the
Sparx5 implementation where possible, however both RX and TX handling
will be done differently on lan969x and therefore requires a separate
implementation of the RX and TX path.

Details are in the commit description of the individual patches

== Patch breakdown:

Patch #1: Enable FDMA support on lan969x
Patch #2: Split start()/stop() functions
Patch #3: Activate TX FDMA in start()
Patch #4: Ops out a few functions that differ on the two platforms
Patch #5: Add FDMA implementation for lan969x

v1: https://lore.kernel.org/20250109-sparx5-lan969x-switch-driver-5-v1-0-13d6d8451e63@microchip.com
====================

Link: https://patch.msgid.link/20250113-sparx5-lan969x-switch-driver-5-v2-0-c468f02fd623@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>