OSDN Git Service

RDMA/uverbs: Hoist the common process of disassociate_ucontext into ib core
authorWei Hu(Xavier) <xavier.huwei@huawei.com>
Mon, 28 May 2018 11:39:26 +0000 (19:39 +0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 31 May 2018 00:45:03 +0000 (20:45 -0400)
commita0976f418daf6f93c3c572767f0cf1e770df4717
tree2bd486c5ef6ccc907dac3758fa43c37b0cea2709
parent0b25c9cc53b5c0f87fab5e3cab0ff64e8d4ccc0b
RDMA/uverbs: Hoist the common process of disassociate_ucontext into ib core

This patch hoisted the common process of disassociate_ucontext
callback function into ib core code, and these code are common
to ervery ib_device driver.

Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_main.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx5/main.c