diff options
author | Yael Chemla <ychemla@nvidia.com> | 2025-03-16 10:14:33 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-21 21:23:47 +0100 |
commit | 8e6f6e92d3fe7032371417d2036b1c6897d2c2e5 (patch) | |
tree | 67f9b3ac727063db76e5eba6682bd8b193bdfd84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e2f4ac7bab2205d3c4dd9464e6ffd82502177c51 (diff) |
net/mlx5e: Ensure each counter group uses its PCAM bit
The code was incorrectly relying on PCAM bit of ppcnt_statistical_group
for accessing per_lane_error_counters.
If ppcnt_statistical_group PCAM bit was not set, we would not read
per_lane_error_counters, even when its PCAM bit is set.
Given the existing device capabilities, it seems to cause no harm, so
this change primarily serves as cleanup.
Signed-off-by: Yael Chemla <ychemla@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://patch.msgid.link/1742112876-2890-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions