summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2023-06-14 09:03:32 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2023-07-26 14:31:04 -0700
commit62752c0bc67f79f064cbe2605054f99d52809e7b (patch)
tree7c3f6be4856b326b1627a62402ddd4a82ec3be0f /tools/perf/scripts/python/stackcollapse.py
parent61eab651f6e96791cfad6db45f1107c398699b2d (diff)
net/mlx5: DR, Fix peer domain namespace setting
The offending patch is based on the assumption that for PFs, mlx5_get_dev_index() is the same as vhca_id. However, this assumption is wrong in case of DPU (ECPF). Fix it by using vhca_id directly, and switch the array of peers to xarray. Fixes: 6d5b7321d8af ("net/mlx5: DR, handle more than one peer domain") Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions