IB/mlx5: Implement DEVX hot unplug for async command FD
authorYishai Hadas <yishaih@mellanox.com>
Tue, 22 Jan 2019 06:29:59 +0000 (08:29 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 29 Jan 2019 20:33:00 +0000 (13:33 -0700)
commiteaebaf77e7cb22fc371b7843370c903f1dd0fc3d
tree1d89f542a474201ce4eaccc9430186ddd4d9ceb3
parent4accbb3fd2638fa11db4670b2d5e8f36a756c51d
IB/mlx5: Implement DEVX hot unplug for async command FD

Implement DEVX hot unplug for the async command FD.

This is done by managing a list of the inflight commands and wait until
all launched work is completed as part of
devx_hot_unplug_async_cmd_event_file.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c