From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH net-next 07/11] net: dsa: debugfs: add port fdb Date: Tue, 15 Aug 2017 00:47:10 +0200 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 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 To: Vivien Didelot Return-path: Content-Disposition: inline In-Reply-To: <20170814222242.10643-8-vivien.didelot@savoirfairelinux.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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