OSDN Git Service

net: hns3: add interfaces to query information of tm priority/qset
authorGuangbin Huang <huangguangbin2@huawei.com>
Thu, 28 Jan 2021 11:51:35 +0000 (19:51 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Jan 2021 04:42:23 +0000 (20:42 -0800)
commit2bbad0aa40e172e7ed7aba6f6ad4d9977dbd0be3
tree6521f3d2045dd4b5c8c78a371749eddba174bdbe
parent2d88296a80c18257c371c331c70b87d89532dd13
net: hns3: add interfaces to query information of tm priority/qset

Add some interfaces to get information of tm priority and qset,
then they can be used by debugfs.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h