Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

vippostrecv.c File Reference

#include "vipl_priv.h"

Go to the source code of this file.

Functions

VIP_ENTRY_POINT VIP_RETURN VipPostRecv (VIP_VI_HANDLE ViHandle, VIP_DESCRIPTOR *DescriptorPtr, VIP_MEM_HANDLE MemoryHandle)


Detailed Description

The VI-GM function VipPostRecv implementation.

Definition in file vippostrecv.c.


Function Documentation

VIP_ENTRY_POINT VIP_RETURN VipPostRecv VIP_VI_HANDLE  ViHandle,
VIP_DESCRIPTOR DescriptorPtr,
VIP_MEM_HANDLE  MemoryHandle
 

VipPostRecv() adds a Descriptor to the tail of the receive queue of the specified VI, notifies the NIC that a new Descriptor is available, and returns immediately.

Return values:
VIP_SUCCESS The receive Descriptor was successfully posted.
VIP_INVALID_PARAMETER The VI handle was invalid.
Parameters:
ViHandle (IN) Instance of a Virtual Interface.
DescriptorPtr (IN) Pointer to a Descriptor to be posted on the receive queue.
MemoryHandle (IN) The handle for the memory region of the Descriptor being posted.
See also:
VipRecvWait VipRecvDone VipCQWait
Author:
Patrick Geoffray
Version:
1.0

Definition at line 38 of file vippostrecv.c.

References VIP_NIC::lock, VIP_GM::lock, VIP_ASSERT, vip_check_memory_handle(), VIP_DEBUG, VIP_DEBUG_LABEL, VIP_ERROR_CONN_LOST, VIP_ERROR_POST_DESC, vip_generate_async_error(), VIP_NIC::vip_gm_ptr, VIP_INVALID_PARAMETER, VIP_INVALID_PTAG_HANDLE, VIP_INVALID_VI_HANDLE, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, vip_notify_desc_completion(), VIP_STATE_ERROR, VIP_STATUS_DESC_FLUSHED_ERROR, VIP_SUCCESS, VIP_TRUE, and vip_vi_transition_to_error_state().

VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.