TWx Linux Repository
Huazhong Tan says:
====================
net: hns3: updates for -next
This patchset adds dump tm info of nodes, priority and qset in debugfs.
Three debugfs files tm_nodes, tm_priority and tm_qset are created in
new tm directory, and use cat command to dump their info, for examples:
$ cat tm_nodes
BASE_ID MAX_NUM
PG 0 8
PRI 0 8
QSET 0 8
QUEUE 0 1024
$ cat tm_priority
ID MODE DWRR C_IR_B C_IR_U C_IR_S C_BS_B C_BS_S C_FLAG C_RATE(Mbps) P_IR_B P_IR_U P_IR_S P_BS_B P_BS_S P_FLAG P_RATE(Mbps)
0000 dwrr 100 0 0 0 5 20 0 0 150 7 0 5 20 0 0
0001 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0002 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0003 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0004 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0005 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0006 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0007 sp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
$ cat tm_qset
ID MAP_PRI LINK_VLD MODE DWRR
0000 0 1 dwrr 100
0001 0 0 sp 0
0002 0 0 sp 0
0003 0 0 sp 0
0004 0 0 sp 0
0005 0 0 sp 0
0006 0 0 sp 0
change log:
V2: add readonly files for dump all nodes, priority and qset info
suggested by Jakub Kicinski.
previous version:
V1: https://patchwork.kernel.org/project/netdevbpf/patch/1610694569-43099-1-git-send-email-tanhuazhong@huawei.com/
====================
Link: https://lore.kernel.org/r/1611834696-56207-1-git-send-email-tanhuazhong@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
||
|---|---|---|
| arch | ||
| block | ||
| certs | ||
| crypto | ||
| Documentation | ||
| drivers | ||
| fs | ||
| include | ||
| init | ||
| ipc | ||
| kernel | ||
| lib | ||
| LICENSES | ||
| mm | ||
| net | ||
| samples | ||
| scripts | ||
| security | ||
| sound | ||
| tools | ||
| usr | ||
| virt | ||
| .clang-format | ||
| .cocciconfig | ||
| .get_maintainer.ignore | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| COPYING | ||
| CREDITS | ||
| Kbuild | ||
| Kconfig | ||
| MAINTAINERS | ||
| Makefile | ||
| README | ||
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.