net: Introduce DSA class for Ethernet switches
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Mon, 25 Jan 2021 12:23:53 +0000 (14:23 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Feb 2021 16:48:20 +0000 (11:48 -0500)
commitfc054d563bfb676f808f26204dfe17c690eed1ba
tree8ce6b59c99c0821434c7eda2d4add41f1d46493a
parentd0781c95bc448a211546404c779e78b29ada1214
net: Introduce DSA class for Ethernet switches

DSA stands for Distributed Switch Architecture and it covers switches that
are connected to the CPU through an Ethernet link and generally use frame
tags to pass information about the source/destination ports to/from CPU.
Front panel ports are presented as regular ethernet devices in U-Boot and
they are expected to support the typical networking commands.
DSA switches may be cascaded, DSA class code does not currently support
this.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
drivers/net/Kconfig
include/dm/uclass-id.h
include/net.h
include/net/dsa.h [new file with mode: 0644]
net/Makefile
net/dsa-uclass.c [new file with mode: 0644]