]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit30f394f4206c011be9d08431bec1ca3f2cdebfd7
tree8ce6b59c99c0821434c7eda2d4add41f1d46493a
parentb120c87ea110d0a219e81b11a7260bc856ef0369
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]