Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757631AbcK3XUx (ORCPT ); Wed, 30 Nov 2016 18:20:53 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:35669 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753810AbcK3XUw (ORCPT ); Wed, 30 Nov 2016 18:20:52 -0500 Date: Thu, 1 Dec 2016 00:20:49 +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 Subject: Re: [PATCH net-next 1/6] net: dsa: mv88e6xxx: add helper to disable ports Message-ID: <20161130232049.GQ21645@lunn.ch> References: <20161130225930.25510-1-vivien.didelot@savoirfairelinux.com> <20161130225930.25510-2-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161130225930.25510-2-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 Content-Length: 349 Lines: 11 On Wed, Nov 30, 2016 at 05:59:25PM -0500, Vivien Didelot wrote: > Before resetting a switch, the ports should be set to the Disabled state > and the transmit queues should be drained. > > Add an helper to explicit that. > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew