diff options
author | Jian Shen <shenjian15@huawei.com> | 2021-06-26 09:00:16 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-28 13:34:58 -0700 |
commit | 03a92fe8cedb6f619df416d38d0b57fd55070cd7 (patch) | |
tree | 1cda6d40300ce0054c18e96c991faac77ba12e39 /mm | |
parent | c948b46a7dcd131e3ac3d4ed48f9cfaaa9103d58 (diff) |
net: hns3: add support for FD counter in debugfs
Previously, the flow director counter is not enabled. To improve the
maintainability for chechking whether flow director hit or not, enable
flow director counter for each function, and add debugfs query inerface
to query the counters for each function.
The debugfs command is below:
cat fd_counter
func_id hit_times
pf 0
vf0 0
vf1 0
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions