aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBen Ben-Ishay <benishay@nvidia.com>2021-10-31 18:31:02 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-11-30 22:35:06 -0800
commit8c8cf0382257b28378eeff535150c087a653ca19 (patch)
tree8b2e5979a29baf2bc042e794e6cf844579871d7f /tools/perf/scripts/python/export-to-postgresql.py
parent502e82b91361955c66c8453b5b7a905b0b5bd5a1 (diff)
net/mlx5e: SHAMPO, Fix constant expression result
mlx5e_build_shampo_hd_umr uses counters i and index incorrectly as unsigned, thus the err state err_unmap could stuck in endless loop. Change i to int to solve the first issue. Reduce index check to solve the second issue, the caller function validates that index could not rotate. Fixes: 64509b052525 ("net/mlx5e: Add data path for SHAMPO feature") Signed-off-by: Ben Ben-Ishay <benishay@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions