From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753668AbdCOVGD (ORCPT ); Wed, 15 Mar 2017 17:06:03 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:50090 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751357AbdCOVGB (ORCPT ); Wed, 15 Mar 2017 17:06:01 -0400 Date: Wed, 15 Mar 2017 22:05:56 +0100 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Jason Cobham Subject: Re: [PATCH net-next v2 0/3] net: dsa: check out-of-range ageing time Message-ID: <20170315210556.GA7416@lunn.ch> References: <20170315195350.11059-1-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170315195350.11059-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 > This patchset fixes this by adding ageing_time_min and ageing_time_max > fields to the dsa_switch structure, which can optionally be set by a DSA > driver. > > If provided, the DSA core will check for out-of-range values in the > SWITCHDEV_ATTR_ID_BRIDGE_AGEING_TIME prepare phase and return -ERANGE > accordingly. > > Finally set these limits in the mv88e6xxx driver. Hi Vivien Thanks for doing it this way. Nicely done. Reviewed-by: Andrew Lunn Andrew