IB/mlx4_ib: Disassociate support
authorYishai Hadas <yishaih@mellanox.com>
Thu, 13 Aug 2015 15:32:06 +0000 (18:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:40 +0000 (18:12 -0400)
commitae184ddeca5db6d60ba9067ba1c9e940fa01d400
treeb75ce9db096f8e2fa659fe3b3d529796485c3d40
parent036b10635739ffd030246eedde3d67f724800177
IB/mlx4_ib: Disassociate support

Implements the IB core disassociate_ucontext API. The driver detaches the HW
resources for a given user context to prevent a dependency between application
termination and device disconnecting. This is done by managing the VMAs that
were mapped to the HW bars such as door bell and blueflame. When need to detach
remap them to an arbitrary kernel page returned by the zap API.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h