Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752931AbdHNWrO (ORCPT ); Mon, 14 Aug 2017 18:47:14 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:36396 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752706AbdHNWrM (ORCPT ); Mon, 14 Aug 2017 18:47:12 -0400 Date: Tue, 15 Aug 2017 00:47:10 +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 , Egil Hjelmeland , John Crispin , Woojung Huh , Sean Wang , Volodymyr Bendiuga , Nikita Yushchenko , Maxime Hadjinlian , Chris Healy , Maxim Uvarov , Stefan Eichenberger , Jason Cobham , Juergen Borleis , Tobias Waldekranz Subject: Re: [PATCH net-next 07/11] net: dsa: debugfs: add port fdb Message-ID: <20170814224710.GD16885@lunn.ch> References: <20170814222242.10643-1-vivien.didelot@savoirfairelinux.com> <20170814222242.10643-8-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170814222242.10643-8-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 535 Lines: 15 On Mon, Aug 14, 2017 at 06:22:38PM -0400, Vivien Didelot wrote: > Add a debug filesystem "fdb" entry to query a port's hardware FDB > entries through the .port_fdb_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these ports are not exposed to userspace. > > # cat port1/fdb > vid 0 12:34:56:78:90:ab static unicast > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Andrew