From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757992AbcIVXoA (ORCPT ); Thu, 22 Sep 2016 19:44:00 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:59902 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757894AbcIVXn4 (ORCPT ); Thu, 22 Sep 2016 19:43:56 -0400 Date: Fri, 23 Sep 2016 01:43:52 +0200 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , John Crispin Subject: Re: [PATCH net-next 0/4] net: dsa: add port fast ageing Message-ID: <20160922234352.GF27769@lunn.ch> References: <20160922204924.16229-1-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160922204924.16229-1-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 22, 2016 at 04:49:20PM -0400, 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. Reviewed-by: Andrew Lunn Andrew