Commit bbf0958b authored by Guangbin Huang's avatar Guangbin Huang Committed by Yang Yingliang
Browse files

net: hns3: add debugfs support for tm priority and qset info

mainline inclusion
from mainline-v5.12-rc1
commit 04987ca1
category: feature
bugzilla: NA
CVE: NA

----------------------------

In order to query tm priority and qset for debugging, adds
debugfs files tm_priority and tm_qset in newly created tm
directory.

Unlike previous debugfs commands, these files just support
read ops, so they only support to use cat command to dump
their info.

The new tm file style is acccording to suggestion from
Jakub Kicinski's opinion as link https://lkml.org/lkml/2020/9/29/2101

.

Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarJunxin Chen <chenjunxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent c9eae542
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment