netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7] net: dsa: add port parsing functions
@ 2017-10-27 19:55 Vivien Didelot
  2017-10-27 19:55 ` [PATCH net-next 1/7] net: dsa: get ports within parsing code Vivien Didelot
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Vivien Didelot @ 2017-10-27 19:55 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, kernel, David S. Miller, Florian Fainelli,
	Andrew Lunn, Vivien Didelot

This patchset adds port parsing functions called early in the new
bindings parsing stage, which regroup all the fetching of static data
available at the port level, including the port's type, name and CPU
master interface.

This simplifies the rest of the code which does not need to dig into
device tree or platform data again in order to check a port's type or
name.

Vivien Didelot (7):
  net: dsa: get ports within parsing code
  net: dsa: add port parse functions
  net: dsa: get port type at parse time
  net: dsa: check master device before put
  net: dsa: get master device at port parsing time
  net: dsa: get port name at parse time
  net: dsa: remove name arg from slave create

 net/dsa/dsa2.c     | 163 +++++++++++++++++++++++++++++------------------------
 net/dsa/dsa_priv.h |   2 +-
 net/dsa/legacy.c   |   3 +-
 net/dsa/slave.c    |   3 +-
 4 files changed, 95 insertions(+), 76 deletions(-)

-- 
2.14.3

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-11-01  2:48 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 19:55 [PATCH net-next 0/7] net: dsa: add port parsing functions Vivien Didelot
2017-10-27 19:55 ` [PATCH net-next 1/7] net: dsa: get ports within parsing code Vivien Didelot
2017-10-30 18:37   ` Florian Fainelli
2017-10-27 19:55 ` [PATCH net-next 2/7] net: dsa: add port parse functions Vivien Didelot
2017-10-30 18:37   ` Florian Fainelli
2017-10-27 19:55 ` [PATCH net-next 3/7] net: dsa: get port type at parse time Vivien Didelot
2017-10-30 18:39   ` Florian Fainelli
2017-10-30 18:46     ` Vivien Didelot
2017-10-30 18:46       ` Florian Fainelli
2017-10-27 19:55 ` [PATCH net-next 4/7] net: dsa: check master device before put Vivien Didelot
2017-10-27 19:55 ` [PATCH net-next 5/7] net: dsa: get master device at port parsing time Vivien Didelot
2017-10-30 18:41   ` Florian Fainelli
2017-10-27 19:55 ` [PATCH net-next 6/7] net: dsa: get port name at parse time Vivien Didelot
2017-10-30 18:44   ` Florian Fainelli
2017-10-27 19:55 ` [PATCH net-next 7/7] net: dsa: remove name arg from slave create Vivien Didelot
2017-10-30 18:44   ` Florian Fainelli
2017-11-01  2:48 ` [PATCH net-next 0/7] net: dsa: add port parsing functions David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).