Re: [PATCH net-next 00/11] net: dsa: setup stage

From: David Miller
Date: Wed Nov 08 2017 - 19:29:39 EST


From: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Nov 2017 16:11:42 -0500

> When probing a DSA switch, there is basically two stages.
>
> The first stage is the parsing of the switch device, from either device
> tree or platform data. It fetches the DSA tree to which it belongs, and
> validates its ports. The switch device is then added to the tree, and
> the second stage is called if this was the last switch of the tree.
>
> The second stage is the setup of the tree, which validates that the tree
> is complete, sets up the routing tables, the default CPU port for user
> ports, sets up the switch drivers and finally the master interfaces,
> which makes the whole switch fabric functional.
>
> This patch series covers the second setup stage. The setup and teardown
> of a switch tree have been separated into logical steps, and the probing
> of a switch now simply parses and adds a switch to a tree.

Series applied, thanks Vivien.