From: "Clément Léger" <clement.leger@bootlin.com>
To: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Vladimir Oltean <vladimir.oltean@nxp.com>,
Claudiu Manoil <claudiu.manoil@nxp.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
UNGLinuxDriver@microchip.com, Andrew Lunn <andrew@lunn.ch>
Cc: "Clément Léger" <clement.leger@bootlin.com>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] Add FDMA support on ocelot switch driver
Date: Thu, 28 Oct 2021 15:49:29 +0200 [thread overview]
Message-ID: <20211028134932.658167-1-clement.leger@bootlin.com> (raw)
This series adds support for the Frame DMA present on the VSC7514
switch. The FDMA is able to extract and inject packets on the various
ethernet interfaces present on the switch.
While adding FDMA support, bindings were switched from .txt to .yaml
and mac address read from device-tree was added to allow be set instead
of using random mac address.
Clément Léger (3):
net: ocelot: add support to get mac from device-tree
dt-bindings: net: convert mscc,vsc7514-switch bindings to yaml
net: ocelot: add FDMA support
.../bindings/net/mscc,vsc7514-switch.yaml | 183 ++++
.../devicetree/bindings/net/mscc-ocelot.txt | 83 --
drivers/net/ethernet/mscc/Makefile | 1 +
drivers/net/ethernet/mscc/ocelot.h | 2 +
drivers/net/ethernet/mscc/ocelot_fdma.c | 811 ++++++++++++++++++
drivers/net/ethernet/mscc/ocelot_fdma.h | 60 ++
drivers/net/ethernet/mscc/ocelot_net.c | 30 +-
drivers/net/ethernet/mscc/ocelot_vsc7514.c | 20 +-
include/linux/dsa/ocelot.h | 40 +-
include/soc/mscc/ocelot.h | 2 +
10 files changed, 1140 insertions(+), 92 deletions(-)
create mode 100644 Documentation/devicetree/bindings/net/mscc,vsc7514-switch.yaml
delete mode 100644 Documentation/devicetree/bindings/net/mscc-ocelot.txt
create mode 100644 drivers/net/ethernet/mscc/ocelot_fdma.c
create mode 100644 drivers/net/ethernet/mscc/ocelot_fdma.h
--
2.33.0
next reply other threads:[~2021-10-28 13:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-28 13:49 Clément Léger [this message]
2021-10-28 13:49 ` [PATCH 1/3] net: ocelot: add support to get mac from device-tree Clément Léger
2021-10-28 14:06 ` Vladimir Oltean
2021-10-28 14:15 ` Clément Léger
2021-10-28 14:22 ` Vladimir Oltean
2021-10-28 14:38 ` Clément Léger
2021-10-28 14:51 ` Vladimir Oltean
2021-10-28 15:28 ` Clément Léger
2021-10-29 6:09 ` Clément Léger
2021-10-29 11:35 ` Vladimir Oltean
2021-10-29 11:53 ` Clément Léger
2021-10-28 13:49 ` [PATCH 2/3] dt-bindings: net: convert mscc,vsc7514-switch bindings to yaml Clément Léger
2021-10-28 13:49 ` [PATCH 3/3] net: ocelot: add FDMA support Clément Léger
2021-10-28 14:12 ` Vladimir Oltean
2021-10-28 14:31 ` Clément Léger
2021-10-28 14:54 ` Vladimir Oltean
2021-10-28 14:07 ` [PATCH 0/3] Add FDMA support on ocelot switch driver Vladimir Oltean
2021-10-28 14:23 ` Clément Léger
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=20211028134932.658167-1-clement.leger@bootlin.com \
--to=clement.leger@bootlin.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=andrew@lunn.ch \
--cc=claudiu.manoil@nxp.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=vladimir.oltean@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.