On Mon, Oct 12, 2020 at 10:38:50PM +0000, Manikarnike, Vasuki wrote: > Hello, > > I notice that librdmacm does not have a reinit/deinit/cleanup API. > I'm looking for ucma_cleanup(), sort of the opposite of ucma_init(). > > The first call to rdma_get_devices() from the application calls ucma_init() if required. > ucma_init() builds the list of devices, and subsequent library calls use this list. > > We'd like to issue a full chip reset on a Mellanox CX-5 adapter by using the 'mlxfwreset' tool, > and we'd like to do this without requiring our application to be restarted. It is supported with this already merged PR. https://github.com/linux-rdma/rdma-core/pull/750 Thanks