]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add "tm map" status information query function
authorliuzhongzhu <liuzhongzhu@huawei.com>
Sat, 15 Dec 2018 15:31:58 +0000 (15:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Dec 2018 18:54:18 +0000 (10:54 -0800)
commit42d6b2b70284bc866caf814520be1ae3ed808664
tree4e9e35007d344bc7e3127812d4d3b324fd2c650a
parent442f8b3c73b7579ef89dda6a629d5752fbcb63b9
net: hns3: Add "tm map" status information query function

This patch prints dcb register status  information by module.

debugfs command:
root@(none)# echo dump tm map 100 > cmd
queue_id | qset_id | pri_id | tc_id
0100     | 0065    | 08     | 00
root@(none)#

Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h