From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034105AbcIWMB7 (ORCPT ); Fri, 23 Sep 2016 08:01:59 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:51732 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034027AbcIWMBy (ORCPT ); Fri, 23 Sep 2016 08:01:54 -0400 Date: Fri, 23 Sep 2016 08:01:50 -0400 (EDT) Message-Id: <20160923.080150.847812923363318699.davem@davemloft.net> To: vivien.didelot@savoirfairelinux.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, f.fainelli@gmail.com, andrew@lunn.ch, john@phrozen.org Subject: Re: [PATCH net-next 0/4] net: dsa: add port fast ageing From: David Miller In-Reply-To: <20160922204924.16229-1-vivien.didelot@savoirfairelinux.com> References: <20160922204924.16229-1-vivien.didelot@savoirfairelinux.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 23 Sep 2016 05:01:53 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vivien Didelot Date: Thu, 22 Sep 2016 16:49:20 -0400 > 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. Series applied, thanks.