aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorLama Kayal <[email protected]>2023-06-11 16:29:13 +0300
committerSaeed Mahameed <[email protected]>2023-08-07 11:48:40 -0700
commit548ee049b19fb9a3d0a4335314d0d1217a521bc5 (patch)
treeda2e6500c9fb86d39af30b0a83de314047ad8c5a /tools/perf/scripts/python/sctop.py
parentaab8e1a200b926147db51e3f82fd07bb9edf6a98 (diff)
net/mlx5e: Add capability check for vnic counters
Add missing capability check for each of the vnic counters exposed by devlink health reporter, and thus avoid unexpected behavior due to invalid access to registers. While at it, read only the exact number of bits for each counter whether it was 32 bits or 64 bits. Fixes: b0bc615df488 ("net/mlx5: Add vnic devlink health reporter to PFs/VFs") Fixes: a33682e4e78e ("net/mlx5e: Expose catastrophic steering error counters") Signed-off-by: Lama Kayal <[email protected]> Reviewed-by: Gal Pressman <[email protected]> Reviewed-by: Rahul Rameshbabu <[email protected]> Reviewed-by: Maher Sanalla <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions