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

vippostsend.c File Reference

#include "vipl_priv.h"

Go to the source code of this file.

Functions

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


Detailed Description

The VI-GM function VipPostSend implementation.

Definition in file vippostsend.c.


Function Documentation

VIP_ENTRY_POINT VIP_RETURN VipPostSend VIP_VI_HANDLE  ViHandle,
VIP_DESCRIPTOR DescriptorPtr,
VIP_MEM_HANDLE  MemoryHandle
 

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

Return values:
VIP_SUCCESS The send 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 send queue.
MemoryHandle (IN) The handle for the memory region of the Descriptor being posted.
See also:
VipSendDone VipSendWait
Author:
Patrick Geoffray
Version:
1.0

Definition at line 37 of file vippostsend.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_process_send_desc(), VIP_STATE_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.