linux/drivers/infiniband/hw
Mark Zhang 07ad6cc82b RDMA/mlx5: Use correct device num_ports when modify DC
[ Upstream commit 746aa3c8cb ]

Just like other QP types, when modify DC, the port_num should be compared
with dev->num_ports, instead of HCA_CAP.num_ports.  Otherwise Multi-port
vHCA on DC may not work.

Fixes: 776a3906b6 ("IB/mlx5: Add support for DC target QP")
Link: https://lore.kernel.org/r/20230420013906.1244185-1-markzhang@nvidia.com
Signed-off-by: Mark Zhang <markzhang@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:35 +09:00
..
bnxt_re
cxgb4 iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() 2023-03-10 09:33:39 +01:00
efa RDMA/efa: Add EFA 0xefa2 PCI ID 2022-10-24 14:11:58 +03:00
erdma RDMA/erdma: Use fixed hardware page size 2023-05-11 23:03:33 +09:00
hfi1 IB/hfi1: Fix bugs with non-PAGE_SIZE-end multi-iovec user SDMA requests 2023-05-11 23:03:34 +09:00
hns RDMA/hns: Fix refcount leak in hns_roce_mmap 2023-03-10 09:33:29 +01:00
irdma RDMA/irdma: Add ipv4 check to irdma_find_listener() 2023-04-20 12:35:07 +02:00
mlx4 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size() 2023-05-11 23:03:33 +09:00
mlx5 RDMA/mlx5: Use correct device num_ports when modify DC 2023-05-11 23:03:35 +09:00
mthca
ocrdma
qedr RDMA/qedr: clean up work queue on failure in qedr_alloc_resources() 2022-10-28 12:59:40 -03:00
qib
usnic RDMA/usnic: use iommu_map_atomic() under spin_lock() 2023-02-14 19:11:43 +01:00
vmw_pvrdma
Makefile