lkml.org 
[lkml]   [2017]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next 00/11] net: dsa: parsing stage
From
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Fri, 3 Nov 2017 19:05:19 -0400

> When registering 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 first parsing stage. It fixes the type of
> the switch and tree indexes to unsigned int, simplifies the tree
> reference counting and the switch and CPU ports parsing.

Series applied, thanks Vivien.

\
 
 \ /
  Last update: 2017-11-05 14:33    [W:0.078 / U:2.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site