The Virtual Interface Architecture

Synopsis
VIP_RETURN VipCreateVi( IN VIP_NIC_HANDLE NicHandle, IN VIP_VI_ATTRIBUTES *ViAttribs, IN VIP_CQ_HANDLE SendCQHandle, IN VIP_CQ_HANDLE RecvCQHandle, OUT VIP_VI_HANDLE *ViHandle )
Parameters
| NicHandle : | Handle of the associated VI NIC. |
| ViAttribs : | The initial attributes to set for the new VI. |
| SendCQHandle : | The handle of a Completion Queue. If a valid handle, the send Work Queue of this VI will be associated with the Completion Queue. If NULL, the send queue is not associated with any Completion Queue. |
| RecvCQHandle : | The handle of a Completion Queue. If valid, the receive Work Queue of this VI will be associated with the Completion Queue. If NULL, the receive queue is not associated with any Completion Queue. |
| ViHandle : | The handle for the newly created VI instance. |
Description
VipCreateVi creates an instance of a Virtual Interface to the specified NIC.
The ViAttribs input parameter specifies the initial attributes for this VI instance.
The SendCQHandle and RecvCQHandle parameters allow the caller to associate the Work Queues of this VI with a Completion Queue. If one or both of the Work Queues are associated with a Completion Queue, the calling process cannot wait...