summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorYufeng Mo <moyufeng@huawei.com>2021-05-14 06:25:15 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-15 01:07:34 +0300
commit8ddfd9c46ef49ed75abc745c1f90532a2abb8f01 (patch)
treebdf2392ec89926504dad3ea9f0da0d8703ed03e1 /tools/perf/scripts/python/mem-phys-addr.py
parent1556ea9120ffcf4faf7ac6b62a6e28216f260a23 (diff)
downloadlinux-8ddfd9c46ef49ed75abc745c1f90532a2abb8f01.tar.xz
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 <moyufeng@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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions