IB/mlx5: Wait for all async command completions to complete
authorEli Cohen <eli@mellanox.com>
Thu, 27 Oct 2016 13:36:43 +0000 (16:36 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Nov 2016 01:04:48 +0000 (20:04 -0500)
commitacbda523884dcf45613bf6818d8ead5180df35c2
tree0cdb2559feb443f19de42a6a955665790ae760e9
parent86695a6582e3b1c4895de2bde4e1022b3a8fbda0
IB/mlx5: Wait for all async command completions to complete

Wait before continuing unload till all pending mkey async creation requests
are done.

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>
drivers/infiniband/hw/mlx5/mr.c