From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com,
jiri@resnulli.us, idosch@mellanox.com, Woojung.Huh@microchip.com,
john@phrozen.org, sean.wang@mediatek.com,
Florian Fainelli <f.fainelli@gmail.com>
Subject: [RFC net-next 0/5] net: dsa: LAG support
Date: Sun, 1 Oct 2017 12:46:34 -0700 [thread overview]
Message-ID: <20171001194639.8647-1-f.fainelli@gmail.com> (raw)
Hi all,
This patch series is sent as RFC since I have only been able to test LAG
with dsa-loop and not with real HW yet (that should be tomorrow). I also
looked at how the Marvell DSDT API is defined for adding ports to "trunk"
groups and the API proposed here should work there too. Can't speak about
QCA, Mediatek or KSZ switches though.
Few open questions that may need solving now or later:
- on Broadcom switches, we should allow enslaving a port as a LAG group
member if its speed does not match that of the other members of the group
- not sure what to do with a switch fabric, naively, if adding two ports
of two distinct switches as a LAG group, we may have to propagate that
to "dsa" cross-chip interfaces as well
Thanks!
Florian Fainelli (5):
net: dsa: Add infrastructure to support LAG
net: dsa: b53: Define MAC trunking/bonding registers
net: dsa: b53: Add support for LAG
net: dsa: bcm_sf2: Add support for LAG
net: dsa: loop: Add support for LAG
drivers/net/dsa/b53/b53_common.c | 94 ++++++++++++++++++++++-
drivers/net/dsa/b53/b53_priv.h | 6 ++
drivers/net/dsa/b53/b53_regs.h | 18 +++++
drivers/net/dsa/bcm_sf2.c | 3 +
drivers/net/dsa/dsa_loop.c | 54 +++++++++++++-
include/net/dsa.h | 25 +++++++
net/dsa/dsa2.c | 12 +++
net/dsa/dsa_priv.h | 7 ++
net/dsa/port.c | 92 +++++++++++++++++++++++
net/dsa/slave.c | 157 ++++++++++++++++++++++++++++++++++++---
net/dsa/switch.c | 30 ++++++++
11 files changed, 484 insertions(+), 14 deletions(-)
--
2.11.0
next reply other threads:[~2017-10-01 19:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-01 19:46 Florian Fainelli [this message]
2017-10-01 19:46 ` [RFC net-next 1/5] net: dsa: Add infrastructure to support LAG Florian Fainelli
2017-10-02 2:03 ` Andrew Lunn
2017-10-02 7:05 ` Ido Schimmel
2017-10-02 18:19 ` Florian Fainelli
2017-10-01 19:46 ` [RFC net-next 2/5] net: dsa: b53: Define MAC trunking/bonding registers Florian Fainelli
2017-10-01 19:46 ` [RFC net-next 3/5] net: dsa: b53: Add support for LAG Florian Fainelli
2017-10-01 19:46 ` [RFC net-next 4/5] net: dsa: bcm_sf2: " Florian Fainelli
2017-10-01 19:46 ` [RFC net-next 5/5] net: dsa: loop: " Florian Fainelli
2017-10-02 6:50 ` [RFC net-next 0/5] net: dsa: LAG support Ido Schimmel
2017-10-02 12:59 ` Andrew Lunn
2017-10-02 13:05 ` Ido Schimmel
2017-10-02 12:51 ` Andrew Lunn
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=20171001194639.8647-1-f.fainelli@gmail.com \
--to=f.fainelli@gmail.com \
--cc=Woojung.Huh@microchip.com \
--cc=andrew@lunn.ch \
--cc=idosch@mellanox.com \
--cc=jiri@resnulli.us \
--cc=john@phrozen.org \
--cc=netdev@vger.kernel.org \
--cc=sean.wang@mediatek.com \
--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 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).