The Virtual Interface Architecture

Synopsis
VIP_RETURN VipPostSend( IN VIP_VI_HANDLE ViHandle, IN VIP_DESCRIPTOR *DescriptorPtr, IN VIP_MEM_HANDLE MemoryHandle ) <a name="335"></a><a name="wbp11AppaP435"></a>
Parameters
| ViHandle : | Instance of a Virtual Interface. |
| DescriptorPtr : | Pointer to a Descriptor to be posted on the send queue. |
| MemoryHandle : | The handle for the memory region of the Descriptor being posted. |
Description
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.
Returns
VIP_SUCCESS The send Descriptor was successfully posted.
VIP_INVALID_PARAMETER The VI handle was invalid.
Synopsis
VIP_RETURN VipSendDone( IN VIP_VI_HANDLE ViHandle, OUT VIP_DESCRIPTOR **DescriptorPtr )
Parameters
| ViHandle : | Instance of a Virtual Interface. |
| DescriptorPtr : | Address of the Descriptor that has completed, if any. |
Description
VipSendDone checks the Descriptor at the head of the send queue to see if it has been marked complete. If the operation has completed, the Descriptor is removed from the head of the queue and the address of the Descriptor is returned. A VIP_DESCRIPTOR_ERROR is returned if the operation completed...