diff options
author | Eli Cohen <eli@mellanox.com> | 2016-11-27 16:18:21 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-13 21:39:47 +0300 |
commit | afd02cd3a9b6c04b41d946b5d7f6e17b3fc30c6b (patch) | |
tree | 2086a5c12f6c0302f77b97929dd324046fc25253 /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | c73b7911de97fad3ab9032a110af48d6ab2da48f (diff) | |
download | linux-afd02cd3a9b6c04b41d946b5d7f6e17b3fc30c6b.tar.xz |
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: e126ba97dba9 ('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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
0 files changed, 0 insertions, 0 deletions