net: hns3: add enabled TC numbers and DWRR weight info in debugfs
authorYonglong Liu <liuyonglong@huawei.com>
Wed, 19 Feb 2020 01:23:31 +0000 (09:23 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Feb 2020 00:25:12 +0000 (16:25 -0800)
commita8adbb8a91a4cc260aeef7d670f3735b7b52865f
tree562cc7ef188fc79774bcac2910e86e9981bdbe4a
parent2d3db26d78805c9e06e26def0081c76e9bb0b7d6
net: hns3: add enabled TC numbers and DWRR weight info in debugfs

The actual enabled TC numbers and the DWRR weight of each
TC may be helpful for debugging, so adds them into debugfs.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c