From: Florian Fainelli <f.fainelli@gmail.com>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com,
"David S. Miller" <davem@davemloft.net>,
Andrew Lunn <andrew@lunn.ch>, John Crispin <john@phrozen.org>
Subject: Re: [PATCH net-next 0/4] net: dsa: add port fast ageing
Date: Thu, 22 Sep 2016 22:36:01 -0700 [thread overview]
Message-ID: <3d45f509-371e-85f3-3ab2-fcb783ebb371@gmail.com> (raw)
In-Reply-To: <20160922204924.16229-1-vivien.didelot@savoirfairelinux.com>
On 09/22/2016 01:49 PM, Vivien Didelot wrote:
> Today the DSA drivers are in charge of flushing the MAC addresses
> associated to a port when its STP state changes from Learning or
> Forwarding, to Disabled or Blocking or Listening.
>
> This makes the drivers more complex and hides this generic switch logic.
>
> This patchset introduces a new optional port_fast_age operation to
> dsa_switch_ops, to move this logic to the DSA layer and keep drivers
> simple. b53 and mv88e6xxx are updated accordingly.
This looks good, just one minor thing, both the b53 and mv88e6xxx can
actually return an error from fast ageing a port, should we account for
that? Not that we would be doing something about it though...
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
>
> Vivien Didelot (4):
> net: dsa: add port STP state helper
> net: dsa: add port fast ageing
> net: dsa: b53: implement DSA port fast ageing
> net: dsa: mv88e6xxx: implement DSA port fast ageing
>
> drivers/net/dsa/b53/b53_common.c | 31 ++++++++++-----------------
> drivers/net/dsa/mv88e6xxx/chip.c | 45 ++++++++++++++++++++--------------------
> include/net/dsa.h | 2 ++
> net/dsa/slave.c | 35 ++++++++++++++++++++++++-------
> 4 files changed, 64 insertions(+), 49 deletions(-)
>
next prev parent reply other threads:[~2016-09-23 5:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-22 20:49 Vivien Didelot
2016-09-22 20:49 ` [PATCH net-next 1/4] net: dsa: add port STP state helper Vivien Didelot
2016-09-22 20:49 ` [PATCH net-next 2/4] net: dsa: add port fast ageing Vivien Didelot
2016-09-22 20:49 ` [PATCH net-next 3/4] net: dsa: b53: implement DSA " Vivien Didelot
2016-09-22 20:49 ` [PATCH net-next 4/4] net: dsa: mv88e6xxx: " Vivien Didelot
2016-09-22 23:43 ` [PATCH net-next 0/4] net: dsa: add " Andrew Lunn
2016-09-23 5:36 ` Florian Fainelli [this message]
2016-09-23 12:01 ` 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=3d45f509-371e-85f3-3ab2-fcb783ebb371@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=john@phrozen.org \
--cc=kernel@savoirfairelinux.com \
--cc=linux-kernel@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®