summaryrefslogtreecommitdiff
path: root/tools/testing/vma/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorShay Drory <shayd@nvidia.com>2026-03-09 11:34:30 +0200
committerLeon Romanovsky <leon@kernel.org>2026-03-16 16:23:00 -0400
commit2b204cdb12068c7087f44a6a6d0af6f71fd72237 (patch)
tree478af3f70a13f3076bcbdccb573293143e04452e /tools/testing/vma/include/git@git.tavy.me:linux.git
parent91e9f3e7b626579b0393151545b80e50e2bffdca (diff)
net/mlx5: LAG, use xa_alloc to manage LAG device indices
Replace the use of mlx5_get_dev_index() for xarray indexing with xa_alloc() to dynamically allocate indices. This decouples the LAG xarray index from the physical device index. Update mlx5_ldev_add_netdev/remove_mdev to find entries by dev pointer and replace mlx5_lag_get_dev_index_by_seq(ldev, MLX5_LAG_P1) calls with mlx5_lag_get_master_idx() where appropriate. No functional changes intended Signed-off-by: Shay Drory <shayd@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/20260309093435.1850724-5-tariqt@nvidia.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions