Resolves the route information required to establish a connection.
#include <rdma/rdma_cma.h> int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms);
The rdma_resolve_route function resolves an RDMA route to the destination address in order to establish a connection. The destination address must have already been resolved by calling the rdma_resolve_addr subroutine.
| id | Specifies the RDMA identifier. |
| timeout_ms | Specifies the time of resolution. |
| 0 | On success. |
| -1 | Error, see errno. |
| -EINVAL | If the id parameter is NULL. |
| -ENODATA | The write operation on id->channel->fd failed. |