Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1711543

Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan
Date 2017-08-15 01:00 +0200
Message-ID <uewuZ-1zq-7@gated-at.bofh.it> (permalink)
References <uew1Y-1pG-9@gated-at.bofh.it> <uew1Y-1pG-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@savoirfairelinux.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 11/11] net: dsa: debugfs: add port vlan Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-15 00:30 +0200
  Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan Andrew Lunn <andrew@lunn.ch> - 2017-08-15 01:00 +0200
  Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan Florian Fainelli <f.fainelli@gmail.com> - 2017-08-15 19:50 +0200

csiph-web