Skip to content

net: dsa: code re-organization

Florian Fainelli netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: dsa: update dsa_of_{probe,remove} to use a device pointernet/dsa/dsa.c+12 -120 replies
2/5net: dsa: allow deferred probingnet/dsa/dsa.c+3 -30 replies
3/5net: dsa: split dsa_switch_setup into two functionsnet/dsa/dsa.c+51 -370 replies
4/5net: dsa: let switches specify their tagging protocolinclude/net/dsa.h net/dsa/dsa.c+8 -20 replies
5/5net: dsa: extract dsa switch tree setup and removalnet/dsa/dsa.c+52 -390 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchGuenter Roeck
SeriesT-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/5] net: dsa: code re-organization

Hi all,

This pull request contains the first part of the patches required to implement the grand plan detailed here:

http://www.spinics.net/lists/netdev/msg295942.html

These are mostly code re-organization and function bodies re-arrangement to allow different callers of lower-level initialization functions for 'struct dsa_switch' and 'struct dsa_switch_tree' to be later introduced.

There is no functional code change at this point.

Thanks!

Florian Fainelli (5):
net: dsa: update dsa_of_{probe,remove} to use a device pointer
net: dsa: allow deferred probing
net: dsa: split dsa_switch_setup into two functions
net: dsa: let switches specify their tagging protocol
net: dsa: extract dsa switch tree setup and removal

 include/net/dsa.h |   5 ++
 net/dsa/dsa.c     | 214 ++++++++++++++++++++++++++++++------------------------
 2 files changed, 126 insertions(+), 93 deletions(-)
Signature · 1 line
2.1.0