diff options
| author | Guangbin Huang <huangguangbin2@huawei.com> | 2021-05-20 05:21:41 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-21 01:01:04 +0300 |
| commit | 484e1ed1b25a6cd02ab25c871e670760f4b627b6 (patch) | |
| tree | d84d61513a04025699eaa41f763d062fe2c56eca /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 95b195869b7d1eb7a1f837f024db31cd6fc07981 (diff) | |
| download | linux-484e1ed1b25a6cd02ab25c871e670760f4b627b6.tar.xz | |
net: hns3: refactor dump qs shaper of debugfs
Currently, user gets qset shaper parameters by implementing debugfs
command "echo dump qs shaper > cmd", this command will dump info in
dmesg. It's unnecessary and heavy.
As there is "tm_qset" file in tm directory for dump qset info, to
optimize these command, merge qset shaper parameters to tm_qset
file and use cat command to get them.
The display style is below:
$ cat tm_qset
ID MAP_PRI LINK_VLD MODE DWRR IR_B IR_U IR_S BS_B BS_S FLAG
0000 0 1 dwrr 100 150 7 0 5 20 0
0001 0 0 sp 0 150 7 0 5 20 0
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
