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

2017-08-15 Thread Florian Fainelli
On 08/14/2017 03:22 PM, 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 t

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

2017-08-14 Thread Andrew Lunn
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 a

[PATCH net-next 07/11] net: dsa: debugfs: add port fdb

2017-08-14 Thread Vivien Didelot
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 012:34:56:78