Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753801AbdHORi4 (ORCPT ); Tue, 15 Aug 2017 13:38:56 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:37897 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752467AbdHORiz (ORCPT ); Tue, 15 Aug 2017 13:38:55 -0400 Subject: Re: [PATCH net-next 09/11] net: dsa: debugfs: add port mdb To: Vivien Didelot , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Andrew Lunn , 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 References: <20170814222242.10643-1-vivien.didelot@savoirfairelinux.com> <20170814222242.10643-10-vivien.didelot@savoirfairelinux.com> From: Florian Fainelli Message-ID: <9d2f285c-12ef-cce5-5113-60ebfaac7b51@gmail.com> Date: Tue, 15 Aug 2017 10:38:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170814222242.10643-10-vivien.didelot@savoirfairelinux.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 451 Lines: 14 On 08/14/2017 03:22 PM, Vivien Didelot wrote: > Add a debug filesystem "mdb" entry to query a port's hardware MDB > entries through the .port_mdb_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. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian