aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMark Bloch <[email protected]>2022-08-08 07:48:06 +0000
committerLeon Romanovsky <[email protected]>2022-08-16 13:14:19 +0000
commit4b83c3caf289b80acecc539c79f10a6937cc42dd (patch)
tree963948e47a0cebcbae5bfb1ff51a029db3fea243 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentIB/iser: Fix login with authentication (diff)
downloadkernel-4b83c3caf289b80acecc539c79f10a6937cc42dd.tar.gz
kernel-4b83c3caf289b80acecc539c79f10a6937cc42dd.zip
RDMA/mlx5: Use the proper number of ports
The cited commit allowed the driver to operate over HCAs that have 4 physical ports. Use the number of ports of the RDMA device in the for loop instead of using the struct size. Fixes: 4cd14d44b11d ("net/mlx5: Support devices with more than 2 ports") Link: https://lore.kernel.org/r/a54a56c2ede16044a29d119209b35189c662ac72.1659944855.git.leonro@nvidia.com Signed-off-by: Mark Bloch <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions