aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorYufeng Mo <[email protected]>2021-05-14 11:25:15 +0800
committerDavid S. Miller <[email protected]>2021-05-14 15:07:34 -0700
commit8ddfd9c46ef49ed75abc745c1f90532a2abb8f01 (patch)
treebdf2392ec89926504dad3ea9f0da0d8703ed03e1 /tools/perf/scripts/python/net_dropmonitor.py
parent1556ea9120ffcf4faf7ac6b62a6e28216f260a23 (diff)
net: hns3: refactor dump mng tbl of debugfs
Currently, the debugfs command for mng tbl is implemented by "echo xxxx > cmd", and record the information in dmesg. It's unnecessary and heavy. To improve it, create a single file "mng_tbl" for it, and query it by command "cat mng_tbl", return the result to userspace, rather than record in dmesg. The display style is below: $ cat mng_tbl entry mac_addr mask ether mask vlan mask i_map ... 00 00:00:00:00:00:00 0 88cc 0 0000 1 0f ... Signed-off-by: Yufeng Mo <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions