aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2021-11-10 21:42:54 +0800
committerDavid S. Miller <davem@davemloft.net>2021-11-10 14:20:43 +0000
commit1122eac19476c5ccf200009d4e4dc9b11458019c (patch)
treee3b6487e6f4ffd32d319b3c3be6eb3fc81eae1b8 /tools/perf/scripts/python/syscall-counts-by-pid.py
parente140c7983e3054be0652bf914f4454f16c5520b0 (diff)
net: hns3: fix some mac statistics is always 0 in device version V2
When driver queries the register number of mac statistics from firmware, the old firmware runs in device version V2 only returns number of valid registers, not include number of three reserved registers among of them. It cause driver doesn't record the last three data when query mac statistics. To fix this problem, driver never query register number in device version V2 and set it to a fixed value which include three reserved registers. Fixes: c8af2887c941 ("net: hns3: add support pause/pfc durations for mac statistics") Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions