linux/drivers/infiniband/hw
Eli Cohen afd02cd3a9 IB/mlx5: Avoid system crash when enabling many VFs
When enabling many VFs, the total amount of DMA mappings increase
significantly. This causes DMA allocations to take a lot of time
since they are serialized in the kernel.

As a result the driver enters into fatal condition due to
timeout and the system hangs. To recover from this we disable
MR cache for VFs.

PFs will still have a full cache and VFs cache can be manipulated
as usual after driver load.

Fixes: e126ba97db ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-12-13 13:39:47 -05:00
..
cxgb3 IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
cxgb4 IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
hfi1 Merge of primary rdma-core code for 4.9 2016-10-09 17:04:33 -07:00
hns IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
i40iw IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
mlx4 IB/mlx4: Fix out-of-range array index in destroy qp flow 2016-12-13 13:39:46 -05:00
mlx5 IB/mlx5: Avoid system crash when enabling many VFs 2016-12-13 13:39:47 -05:00
mthca IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
nes IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
ocrdma IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
qedr IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
qib mm: replace get_user_pages() write/force parameters with gup_flags 2016-10-19 08:11:43 -07:00
usnic IB/core: Let create_ah return extended response to user 2016-12-13 13:38:27 -05:00
Makefile qedr: Add RoCE driver framework 2016-10-14 15:00:10 -04:00