Skip to content
Commit c367074b authored by Jason Gunthorpe's avatar Jason Gunthorpe
Browse files

RDMA/rxe: Use driver_unregister and new unregistration API



rxe does not have correct locking for its registration/unregistration
paths, use the core code to handle it instead. In this mode
ib_unregister_device will also do the dealloc, so rxe is required to do
clean up from a callback.

The core code ensures that unregistration is done only once, and generally
takes care of locking and concurrency problems for rxe.

Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent d0899892
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment