All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>, David Miller <davem@davemloft.net>,
	Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next 00/17] New DSA bind, switches as devices
Date: Fri, 3 Jun 2016 10:33:42 -0700	[thread overview]
Message-ID: <5751BF76.9020301@gmail.com> (raw)
In-Reply-To: <1464972256-10408-1-git-send-email-andrew@lunn.ch>

On 06/03/2016 09:43 AM, Andrew Lunn wrote:
> The interesting patches here are the last three. They implement a new
> binding for DSA, which removes a few limitations of the current DSA
> binding. In particular, it allows switches to be true Linux devices.
> These devices can be on any type of bus, unlike the old DSA binding
> which assumes MDIO. See the commit log for more details. The second to
> last patch modifies an existing boards device tree to use the new
> binding, giving a good example of how switches can be true MDIO
> devices. The last patch documents the new binding.
> 
> I know both John Crispin and Bryan Whitehead are interesting in
> implementing DSA drivers, hence i have CC: you. Comments welcome.
> 
> Thanks go to Florian and Vivien for reviewing, testing and bug fixing
> these patches.

Will keep reviewing patches by one, but a quick smoke test here on a
BCM7445 with bcm_sf2 gives me all thumbs up.

Tested-by: Florian Fainelli <f.fainelli@gmail.com>

Thanks!

> 
> Since RFC:
> 
> * Split the mv88e6xxx MDIO refactor into a rename patch and a refactor
>   patch.
> * Extend commit message with comment about wrong of_node_put()
> * Fix destroy of cpu and dsa ports.
> * Rename _DSA_TAG_LAST to DSA_TAG_LAST and add a comment.
> 
> Andrew Lunn (16):
>   net: dsa: slave: chip data is optional, don't dereference NULL
>   net: dsa: slave: Remove MDIO address from switch MDIO bus name
>   net: dsa: tag_{e}dsa.c: Remove dependency on platform data
>   net: dsa: Add a ports structure and use it in the switch structure
>   net: dsa: Move port device node into port structure
>   net: dsa: Remove dynamic allocate of routing table
>   net: dsa: Copy the routing table into the switch structure
>   net: dsa: Split up creating/destroying of DSA and CPU ports
>   net: dsa: mv88e6xxx: Only support EDSA tagging
>   net: dsa: Refactor selection of tag ops into a function
>   net: dsa: Make mdio bus optional
>   net: dsa: mv88e6xxx: Rename _phy_ to _mdio_
>   net: dsa: mv88e6xxx: Refactor MDIO so driver registers mdio bus
>   net: dsa: Add new binding implementation
>   arm: dt: vf610-zii-devel-b: Make use of new DSA binding
>   net: dsa: Document new binding
> 
> Vivien Didelot (1):
>   net: dsa: mv88e6xxx: fix circular lock in PPU work
> 
>  Documentation/devicetree/bindings/net/dsa/dsa.txt | 278 ++++++++-
>  arch/arm/boot/dts/vf610-zii-dev-rev-b.dts         | 328 +++++------
>  drivers/net/dsa/bcm_sf2.c                         |   4 +-
>  drivers/net/dsa/mv88e6xxx.c                       | 267 ++++++---
>  drivers/net/dsa/mv88e6xxx.h                       |   6 +
>  include/net/dsa.h                                 |  56 +-
>  net/dsa/Makefile                                  |   2 +-
>  net/dsa/dsa.c                                     | 210 ++++---
>  net/dsa/dsa2.c                                    | 653 ++++++++++++++++++++++
>  net/dsa/dsa_priv.h                                |   6 +-
>  net/dsa/slave.c                                   |  57 +-
>  net/dsa/tag_brcm.c                                |   4 +-
>  net/dsa/tag_dsa.c                                 |  10 +-
>  net/dsa/tag_edsa.c                                |  10 +-
>  net/dsa/tag_trailer.c                             |   4 +-
>  15 files changed, 1485 insertions(+), 410 deletions(-)
>  create mode 100644 net/dsa/dsa2.c
> 


-- 
Florian

  parent reply	other threads:[~2016-06-03 17:33 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-03 16:43 [PATCH net-next 00/17] New DSA bind, switches as devices Andrew Lunn
2016-06-03 16:44 ` [PATCH net-next 01/17] net: dsa: slave: chip data is optional, don't dereference NULL Andrew Lunn
2016-06-03 17:16   ` Florian Fainelli
2016-06-03 18:09   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 02/17] net: dsa: mv88e6xxx: fix circular lock in PPU work Andrew Lunn
2016-06-03 21:11   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 03/17] net: dsa: slave: Remove MDIO address from switch MDIO bus name Andrew Lunn
2016-06-03 17:16   ` Florian Fainelli
2016-06-03 18:10   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 04/17] net: dsa: tag_{e}dsa.c: Remove dependency on platform data Andrew Lunn
2016-06-03 17:16   ` Florian Fainelli
2016-06-03 18:12   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 05/17] net: dsa: Add a ports structure and use it in the switch structure Andrew Lunn
2016-06-03 18:16   ` Vivien Didelot
2016-06-03 18:21   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 06/17] net: dsa: Move port device node into port structure Andrew Lunn
2016-06-03 18:19   ` Vivien Didelot
2016-06-03 18:21   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 07/17] net: dsa: Remove dynamic allocate of routing table Andrew Lunn
2016-06-03 18:21   ` Vivien Didelot
2016-06-03 21:11   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 08/17] net: dsa: Copy the routing table into the switch structure Andrew Lunn
2016-06-03 18:27   ` Vivien Didelot
2016-06-03 21:21   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 09/17] net: dsa: Split up creating/destroying of DSA and CPU ports Andrew Lunn
2016-06-03 18:37   ` Vivien Didelot
2016-06-03 21:21   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 10/17] net: dsa: mv88e6xxx: Only support EDSA tagging Andrew Lunn
2016-06-03 18:51   ` Vivien Didelot
2016-06-03 21:20   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 11/17] net: dsa: Refactor selection of tag ops into a function Andrew Lunn
2016-06-03 17:19   ` Florian Fainelli
2016-06-03 19:04   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 12/17] net: dsa: Make mdio bus optional Andrew Lunn
2016-06-03 17:21   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 13/17] net: dsa: mv88e6xxx: Rename _phy_ to _mdio_ Andrew Lunn
2016-06-03 19:40   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 14/17] net: dsa: mv88e6xxx: Refactor MDIO so driver registers mdio bus Andrew Lunn
2016-06-03 19:54   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 15/17] net: dsa: Add new binding implementation Andrew Lunn
2016-06-03 20:06   ` Vivien Didelot
2016-06-03 21:19   ` Florian Fainelli
2016-06-03 16:44 ` [PATCH net-next 16/17] arm: dt: vf610-zii-devel-b: Make use of new DSA binding Andrew Lunn
2016-06-03 21:31   ` Vivien Didelot
2016-06-03 16:44 ` [PATCH net-next 17/17] net: dsa: Document new binding Andrew Lunn
2016-06-03 21:29   ` Vivien Didelot
2016-06-03 17:33 ` Florian Fainelli [this message]
2016-06-03 20:38 ` [PATCH net-next 00/17] New DSA bind, switches as devices Vivien Didelot
2016-06-04  5:41 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5751BF76.9020301@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=vivien.didelot@savoirfairelinux.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.