[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170814225213.GH16885@lunn.ch>
Date: Tue, 15 Aug 2017 00:52:13 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Egil Hjelmeland <privat@...l-hjelmeland.no>,
John Crispin <john@...ozen.org>,
Woojung Huh <Woojung.Huh@...rochip.com>,
Sean Wang <sean.wang@...iatek.com>,
Volodymyr Bendiuga <volodymyr.bendiuga@...il.com>,
Nikita Yushchenko <nikita.yoush@...entembedded.com>,
Maxime Hadjinlian <maxime@...ialet.com>,
Chris Healy <cphealy@...il.com>,
Maxim Uvarov <muvarov@...il.com>,
Stefan Eichenberger <eichest@...il.com>,
Jason Cobham <jcobham@...stertangent.com>,
Juergen Borleis <jbe@...gutronix.de>,
Tobias Waldekranz <tobias@...dekranz.com>
Subject: Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan
On Mon, Aug 14, 2017 at 06:22:42PM -0400, Vivien Didelot wrote:
> Add a debug filesystem "vlan" entry to query a port's hardware VLAN
> entries through the .port_vlan_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.
>
> Here are the VLAN entries for a CPU port:
>
> # cat port5/vlan
> vid 1
> vid 42 pvid
>
> Signed-off-by: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists