]> asedeno.scripts.mit.edu Git - linux.git/commit
net: dsa: use ports list to setup switches
authorVivien Didelot <vivien.didelot@gmail.com>
Mon, 21 Oct 2019 20:51:19 +0000 (16:51 -0400)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Tue, 22 Oct 2019 19:37:06 +0000 (12:37 -0700)
commitfb35c60cbacc67a6075fb8e3d98fa348665662fe
tree17f6f1fbb92d24d6ff9492901a5812e2e40661f4
parent7b9a2f4bac68e1dcc77baebd8c1e32d43710bafa
net: dsa: use ports list to setup switches

Use the new ports list instead of iterating over switches and their
ports when setting up the switches and their ports.

At the same time, provide setup states and messages for ports and
switches as it is done for the trees.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
include/net/dsa.h
net/dsa/dsa2.c