[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210622144111.19647-1-lukma@denx.de>
Date: Tue, 22 Jun 2021 16:41:08 +0200
From: Lukasz Majewski <lukma@...x.de>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Madalin Bucur <madalin.bucur@....nxp.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
Joakim Zhang <qiangqing.zhang@....com>,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>
Cc: netdev@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Mark Einon <mark.einon@...il.com>,
NXP Linux Team <linux-imx@....com>,
linux-kernel@...ts.infradead.org, Lukasz Majewski <lukma@...x.de>
Subject: [RFC 0/3] net: imx: Provide support for L2 switch as switchdev accelerator
This patch series is a followup for the earlier effort [1]
to bring support for L2 switch IP block on some NXP devices.
This time it augment the fec driver, so the L2 switch is treated
as a HW network accelerator. This is minimal, yet functional
driver, which enables bridging between imx28 ENET-MAC ports.
Links:
[1] - https://lwn.net/ml/linux-kernel/20201125232459.378-1-lukma@denx.de/
Lukasz Majewski (3):
ARM: dts: imx28: Add description for L2 switch on XEA board
net: Provide switchdev driver for NXP's More Than IP L2 switch
net: imx: Adjust fec_main.c to provide support for L2 switch
arch/arm/boot/dts/imx28-xea.dts | 42 ++
drivers/net/ethernet/freescale/Kconfig | 1 +
drivers/net/ethernet/freescale/Makefile | 1 +
drivers/net/ethernet/freescale/fec.h | 36 ++
drivers/net/ethernet/freescale/fec_main.c | 139 +++++-
drivers/net/ethernet/freescale/mtipsw/Kconfig | 11 +
.../net/ethernet/freescale/mtipsw/Makefile | 3 +
.../net/ethernet/freescale/mtipsw/fec_mtip.c | 438 ++++++++++++++++++
.../net/ethernet/freescale/mtipsw/fec_mtip.h | 213 +++++++++
9 files changed, 860 insertions(+), 24 deletions(-)
create mode 100644 drivers/net/ethernet/freescale/mtipsw/Kconfig
create mode 100644 drivers/net/ethernet/freescale/mtipsw/Makefile
create mode 100644 drivers/net/ethernet/freescale/mtipsw/fec_mtip.c
create mode 100644 drivers/net/ethernet/freescale/mtipsw/fec_mtip.h
--
2.20.1
Powered by blists - more mailing lists