Mon, Aug 28, 2017 at 09:17:38PM CEST, vivien.dide...@savoirfairelinux.com wrote: >This patch series adds a generic debugfs interface for the DSA >framework, so that all switch devices benefit from it, e.g. Marvell, >Broadcom, Microchip or any other DSA driver. > >This is really convenient for debugging, especially CPU ports and DSA >links which are not exposed to userspace as net device. This interface >is currently the only way to easily inspect the hardware for such ports. > >With the patch series, any switch device user is able to query the >hardware for the supported tagging protocol, the ports stats and >registers, as well as their FDB, MDB and VLAN entries.
I see this overlaps a lot with DPIPE. Why won't you use that to expose your hw state?