linux_dsm_epyc7002/drivers/infiniband/hw
Jason Gunthorpe 0ec52f0194 RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't work
set_reg_wr() always fails if !umr_modify_entity_size_disabled because
mlx5_ib_can_use_umr() always fails. Without set_reg_wr() IB_WR_REG_MR
doesn't work and that means the device should not advertise
IB_DEVICE_MEM_MGT_EXTENSIONS.

Fixes: 841b07f99a ("IB/mlx5: Block MR WR if UMR is not possible")
Link: https://lore.kernel.org/r/20200914112653.345244-5-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-18 13:02:43 -03:00
..
bnxt_re Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
cxgb4 RDMA/iw_cxgb4: Disable delayed ack by default 2020-09-18 11:29:37 -03:00
efa RDMA/efa: Use ib_umem_num_dma_pages() 2020-09-11 10:24:53 -03:00
hfi1 Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
hns RDMA/hns: Set the unsupported wr opcode 2020-09-18 12:52:58 -03:00
i40iw RDMA/i40iw: Avoid typecast from void to pci_dev 2020-09-16 13:40:29 -03:00
mlx4 Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
mlx5 RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't work 2020-09-18 13:02:43 -03:00
mthca RDMA/umem: Split ib_umem_num_pages() into ib_umem_num_dma_blocks() 2020-09-11 10:24:53 -03:00
ocrdma Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
qedr RDMA/qedr: Fix resource leak in qedr_create_qp 2020-09-18 12:45:41 -03:00
qib Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
usnic RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
vmw_pvrdma Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00