
#include <stdlib.h>#include "vipl_priv.h"Go to the source code of this file.
Functions | |
| VIP_ENTRY_POINT VIP_RETURN | VipConnectPeerDone (VIP_VI_HANDLE ViHandle, VIP_VI_ATTRIBUTES *RemoteViAttribs) |
Definition in file vipconnectpeerdone.c.
|
||||||||||||
|
VipConnectPeerDone is called by a client to determine the results of a previously posted VipConnectPeerRequest call on the specified VI handle, without blocking the calling thread. If a connection is successfully established, the attributes of the remote endpoint are returned to the caller. The attributes of the remote endpoint allow the caller to determine whether/which RDMA operations can be executed on the resulting connection. Note: The VI attributes that must match are ReliabilityLevel, MaxTransferSize and QoS. If the connection was not successfully established within the Timeout period specified in VipConnectPeerRequest, a VIP_TIMEOUT error is returned. VipConnectPeerDone returns VIP_NOT_DONE if the connection operation is still in progress.
Definition at line 63 of file vipconnectpeerdone.c. References VIP_NIC::lock, VIP_ABORT, VIP_NIC::vip_conn_set, VIP_CONN_TYPE_PEER, VIP_DEBUG, VIP_DEBUG_LABEL, vip_free_handle(), VIP_INVALID_CONN_HANDLE, VIP_INVALID_MTU, VIP_INVALID_PARAMETER, VIP_INVALID_QOS, VIP_INVALID_RELIABILITY_LEVEL, VIP_INVALID_STATE, VIP_INVALID_VI_HANDLE, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, VIP_NOT_DONE, VIP_STATE_CONNECT_PENDING, VIP_STATE_CONNECTED, VIP_STATE_IDLE, VIP_SUCCESS, and VIP_TIMEOUT. |
1.4.4.