commit | c367074b6c37c2d2d45cb60a15b829eefbcee0f1 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Tue Jan 22 16:27:24 2019 -0700 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Tue Feb 19 20:52:18 2019 -0700 |
tree | b32f5a0595dda1580112350c7d1bc6fa7f4e5f49 | |
parent | d0899892edd089790eb17943ecf28254a909deae [diff] |
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: Jason Gunthorpe <jgg@mellanox.com>