diff options
author | Yishai Hadas <yishaih@mellanox.com> | 2015-08-13 17:32:07 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-08-31 00:12:41 +0200 |
commit | e1c30298ccab87151a0c4241fc5985c591598361 (patch) | |
tree | 95d50628388aaff7e39fb1212b2ce86fe5b0fd03 /drivers/net/phy | |
parent | IB/mlx4_ib: Disassociate support (diff) | |
download | linux-e1c30298ccab87151a0c4241fc5985c591598361.tar.xz linux-e1c30298ccab87151a0c4241fc5985c591598361.zip |
IB/ucma: HW Device hot-removal support
Currently, IB/cma remove_one flow blocks until all user descriptor managed by
IB/ucma are released. This prevents hot-removal of IB devices. This patch
allows IB/cma to remove devices regardless of user space activity. Upon getting
the RDMA_CM_EVENT_DEVICE_REMOVAL event we close all the underlying HW resources
for the given ucontext. The ucontext itself is still alive till its explicit
destroying by its creator.
Running applications at that time will have some zombie device, further
operations may fail.
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions