lkml.org 
[lkml]   [2018]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC net-next 3/9] net: hns3: Add "port vlan table" information query function
From
From: Jakub Kicinski <jakub.kicinski@netronome.com>
Date: Mon, 3 Dec 2018 15:12:22 -0800

> On Sun, 2 Dec 2018 23:09:27 +0000, Salil Mehta wrote:
>> From: liuzhongzhu <liuzhongzhu@huawei.com>
>>
>> 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@huawei.com>
>> Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
>
> 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.

Agreed.

\
 
 \ /
  Last update: 2018-12-04 00:13    [W:0.083 / U:5.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site