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)
commit82e00b86a5b60d21e85564ec7dccaddc37ec2b00
tree4e9e35007d344bc7e3127812d4d3b324fd2c650a
parent0c29d1912b81a0d8ab7eb46ce7036a8c0fb073e3
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