Files
linux/drivers/infiniband/hw/mlx5
Mark Bloch 4b83c3caf2 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: 4cd14d44b1 ("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 <mbloch@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-08-16 16:14:19 +03:00
..
2021-09-28 18:31:21 +03:00
2021-09-28 18:31:21 +03:00
2022-06-07 12:57:41 +03:00
2021-04-13 19:36:37 -03:00
2021-08-05 13:49:24 -07:00
2022-01-05 16:40:35 -04:00
2020-12-07 15:52:54 -04:00
2022-06-07 12:57:41 +03:00