diff options
author | Shay Drory <shayd@nvidia.com> | 2023-06-14 09:03:32 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-07-27 00:31:04 +0300 |
commit | 62752c0bc67f79f064cbe2605054f99d52809e7b (patch) | |
tree | 7c3f6be4856b326b1627a62402ddd4a82ec3be0f /scripts/gdb/linux/utils.py | |
parent | 61eab651f6e96791cfad6db45f1107c398699b2d (diff) | |
download | linux-62752c0bc67f79f064cbe2605054f99d52809e7b.tar.xz |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions