• Jason Gunthorpe's avatar
    RDMA/rxe: Use driver_unregister and new unregistration API · c367074b
    Jason Gunthorpe authored
    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>
    c367074b
rxe_verbs.c 27 KB