]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ucma: Return stable IB device index as identifier
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 4 May 2020 13:25:41 +0000 (16:25 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 12 May 2020 22:52:27 +0000 (19:52 -0300)
commit4d95a277f098a67af59d941fa65c3b8aaaed750b
tree0045a4322114970052d518a5262ab12d3a24317d
parent7e362281b42facc1d41adf236efd87da73b8df0c
RDMA/ucma: Return stable IB device index as identifier

The librdmacm uses node_guid as identifier to correlate between IB devices
and CMA devices. However FW resets cause to such "connection" to be lost
and require from the user to restart its application.

Extend UCMA to return IB device index, which is stable identifier.

Link: https://lore.kernel.org/r/20200504132541.355710-1-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/ucma.c
include/uapi/rdma/rdma_user_cm.h