Thread (15 messages) flat view 15 messages, 2 authors, 2026-02-17

Re: [net-next v23 2/7] net: mtip: The L2 switch driver for imx287

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-02-06 02:28:07
Also in: imx, linux-arm-kernel, linux-devicetree, lkml

On Thu,  5 Feb 2026 00:21:30 +0100 Lukasz Majewski wrote:
This patch series provides support for More Than IP L2 switch embedded
in the imx287 SoC.

This is a two port switch (placed between uDMA[01] and MAC-NET[01]),
which can be used for offloading the network traffic.

It can be used interchangeably with current FEC driver - to be more
specific: one can use either of it, depending on the requirements.

The biggest difference is the usage of DMA - when FEC is used, separate
DMAs are available for each ENET-MAC block.
However, with switch enabled - only the DMA0 is used to send/receive data
to/form switch (and then switch sends them to respecitive ports).

Signed-off-by: Lukasz Majewski <redacted>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Transient build failure here:

drivers/net/ethernet/freescale/mtipsw/mtipl2sw.c:1072:32: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]
 1072 |         struct mtip_ndev_priv *priv;
      |                                ^~~~

I sent out the AI code reviews while at it, without looking at them.
So please approach them with caution..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help