summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/srq.c
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@mellanox.com>2016-06-17 14:56:44 +0300
committerDoug Ledford <dledford@redhat.com>2016-06-23 11:02:44 -0400
commit7c2344c3bbf97eb5dfa732d5098285d15d3bf9bf (patch)
tree643402a4f2a8eb70da2a057bf2a85264b7cde146 /drivers/infiniband/hw/mlx5/srq.c
parent28d6137008b2aa09e35750c604394e363dbfca94 (diff)
downloadop-kernel-dev-7c2344c3bbf97eb5dfa732d5098285d15d3bf9bf.zip
op-kernel-dev-7c2344c3bbf97eb5dfa732d5098285d15d3bf9bf.tar.gz
IB/mlx5: Implements disassociate_ucontext API
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 disconnect. This is done by managing the VMAs that were mapped to the HW bars such as doorbell and blueflame. When need to detach, remap them to an arbitrary kernel page returned by the zap API. 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/srq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud