From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751817AbcGSSua (ORCPT ); Tue, 19 Jul 2016 14:50:30 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:45794 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751651AbcGSSu0 (ORCPT ); Tue, 19 Jul 2016 14:50:26 -0400 Date: Tue, 19 Jul 2016 20:50:22 +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 Subject: Re: [PATCH net-next v3 10/12] net: dsa: support switchdev ageing time attr Message-ID: <20160719185022.GG31103@lunn.ch> References: <20160719004540.1066-1-vivien.didelot@savoirfairelinux.com> <20160719004540.1066-11-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160719004540.1066-11-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 Mon, Jul 18, 2016 at 08:45:38PM -0400, Vivien Didelot wrote: > Add a new function for DSA drivers to handle the switchdev > SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME attribute. > > The ageing time is passed as milliseconds. > > Also because we can have multiple logical bridges on top of a physical > switch and ageing time are switch-wide, call the driver function with > the fastest ageing time in use on the chip instead of the requested one. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew