Re: [RFC net-next 3/9] net: hns3: Add "port vlan table" information query function

From: Jakub Kicinski
Date: Mon Dec 03 2018 - 18:12:29 EST


On Sun, 2 Dec 2018 23:09:27 +0000, Salil Mehta wrote:
> From: liuzhongzhu <liuzhongzhu@xxxxxxxxxx>
>
> This patch prints port vlan table information.
>
> debugfs command:
> echo dump port vlan tbl > cmd
>
> Sample Command:
> root@(none)# echo dump port vlan tbl > cmd
> vlan | port filter bitMap:
> 0000 | 00000000:00000000:00000000:00000000:00000000:00000001
> root@(none)#
>
> Signed-off-by: liuzhongzhu <liuzhongzhu@xxxxxxxxxx>
> Signed-off-by: Salil Mehta <salil.mehta@xxxxxxxxxx>

Adding debugfs files for basic switch concepts like MAC and VLAN tables
seems like a bit of a stretch to me. I wonder what others think.