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

VIP_NIC Struct Reference

#include <vipl_structs.h>


Data Fields

VIP_UINT16 magic
VIP_UINT16 index
VIP_UINT32 ptag_last_id
VIP_GMvip_gm_ptr
VIP_HANDLE_SET vip_vi_set
VIP_HANDLE_SET vip_ptag_set
VIP_HANDLE_SET vip_mem_set
VIP_HANDLE_SET vip_cq_set
VIP_HANDLE_SET vip_conn_set
VIP_MEM_HANDLE vip_mem_handle_free
VIP_MEMvip_mem_handle_ptrs [VI_GM_MAX_REGISTER_REGIONS+1]
VIP_UINT16 vip_vi_index_free
VIP_VIvip_vi_ptrs [VI_GM_MAX_VI+1]
void(* error_callback )(VIP_PVOID, VIP_ERROR_DESCRIPTOR *)
VIP_PVOID error_callback_context
VIP_MUTEX_T lock
VIP_BOOLEAN ns_initialized


Detailed Description

A structure describing a VI Network Interface.

Definition at line 185 of file vipl_structs.h.


Field Documentation

VIP_UINT16 VIP_NIC::magic
 

Magic number used to validate the handle.

Definition at line 188 of file vipl_structs.h.

Referenced by vip_wait_for_notification(), and VipOpenNic().

VIP_UINT16 VIP_NIC::index
 

Index of this NIC structure in the NIC handles array in the parent GM structure.

Definition at line 191 of file vipl_structs.h.

Referenced by vip_handle_3way_ok(), vip_handle_matching_message(), vip_handle_put_req(), VipConnectAccept(), VipConnectRequest(), and VipOpenNic().

VIP_UINT32 VIP_NIC::ptag_last_id
 

Value of the last protection tag allocated by this NIC, incremented at each protection tag allocation.

Definition at line 194 of file vipl_structs.h.

Referenced by VipOpenNic().

VIP_GM* VIP_NIC::vip_gm_ptr
 

Pointer to the associated VIP_GM structure.

Definition at line 196 of file vipl_structs.h.

Referenced by vip_cq_notify_thread(), vip_generate_async_error(), vip_handle_conn_req(), vip_notify_desc_completion(), vip_process_send_desc(), vip_recv_notify_thread(), vip_send_notify_thread(), vip_vi_transition_to_error_state(), vip_wait_for_notification(), VipConnectAccept(), VipConnectPeerRequest(), VipConnectPeerWait(), VipConnectReject(), VipConnectRequest(), VipCQDone(), VipCQNotify(), VipCQWait(), VipDestroyVi(), VipDisconnect(), VipOpenNic(), VipPostRecv(), VipPostSend(), VipRecvNotify(), VipRecvWait(), VipSendDone(), VipSendNotify(), and VipSendWait().

VIP_HANDLE_SET VIP_NIC::vip_vi_set
 

VI handle set for this NIC.

Definition at line 198 of file vipl_structs.h.

Referenced by VipDestroyVi(), and VipOpenNic().

VIP_HANDLE_SET VIP_NIC::vip_ptag_set
 

PTAG handle set for this NIC.

Definition at line 200 of file vipl_structs.h.

Referenced by VipOpenNic().

VIP_HANDLE_SET VIP_NIC::vip_mem_set
 

MEM handle set for this NIC.

Definition at line 202 of file vipl_structs.h.

Referenced by VipOpenNic().

VIP_HANDLE_SET VIP_NIC::vip_cq_set
 

CQ handle set for this NIC.

Definition at line 204 of file vipl_structs.h.

Referenced by VipDestroyCQ(), and VipOpenNic().

VIP_HANDLE_SET VIP_NIC::vip_conn_set
 

CONN handle set for this NIC.

Definition at line 206 of file vipl_structs.h.

Referenced by VipConnectAccept(), VipConnectPeerDone(), VipConnectPeerRequest(), VipConnectPeerWait(), VipConnectReject(), VipConnectRequest(), VipDisconnect(), and VipOpenNic().

VIP_MEM_HANDLE VIP_NIC::vip_mem_handle_free
 

Index of the next free slot in the MEM handles array. MEM handle are indexes, not pointer, because of space issue.

Definition at line 209 of file vipl_structs.h.

Referenced by VipOpenNic().

struct VIP_MEM* VIP_NIC::vip_mem_handle_ptrs[VI_GM_MAX_REGISTER_REGIONS+1]
 

MEM handles array, indirection from 32 bits indexes to MEM handles pointer. An unallocated slot in the array contains the index of the next free slot, so no need for a free list on the side.

Definition at line 213 of file vipl_structs.h.

Referenced by vip_check_memory_handle(), and VipOpenNic().

VIP_UINT16 VIP_NIC::vip_vi_index_free
 

Index of the next free slot in the VI handles array.

Definition at line 215 of file vipl_structs.h.

Referenced by VipDestroyVi(), and VipOpenNic().

struct VIP_VI* VIP_NIC::vip_vi_ptrs[VI_GM_MAX_VI+1]
 

VI handles array, similar to the MEM handles array. Used to reduce the size of information needed to referenced a specific VI in a specific NIC.

Definition at line 219 of file vipl_structs.h.

Referenced by VipDestroyVi(), and VipOpenNic().

void(* VIP_NIC::error_callback)(VIP_PVOID, VIP_ERROR_DESCRIPTOR *)
 

Function registered as the asynchronous error callback for the NIC.

Referenced by vip_generate_async_error(), and VipOpenNic().

VIP_PVOID VIP_NIC::error_callback_context
 

Pointer passed as an argument to the asynchronous error callback.

Definition at line 223 of file vipl_structs.h.

Referenced by vip_generate_async_error(), and VipOpenNic().

VIP_MUTEX_T VIP_NIC::lock
 

mutex protecting concurrent accesses to the NIC and sub-structures.

Definition at line 225 of file vipl_structs.h.

Referenced by vip_allocate_handle(), vip_check_memory_handle(), vip_cq_notify_thread(), vip_destroy_conn_handle_set(), vip_destroy_cq_handle_set(), vip_destroy_mem_handle_set(), vip_destroy_ptag_handle_set(), vip_destroy_vi_handle_set(), vip_free_handle(), vip_generate_async_error(), vip_handle_3way_done(), vip_handle_3way_ok(), vip_handle_conn_req(), vip_handle_matching_message(), vip_handle_put_done(), vip_handle_put_ok(), vip_handle_put_req(), vip_notify_desc_completion(), vip_process_send_desc(), vip_recv_notify_thread(), vip_remove_conn_waiting_list(), vip_resume_callback(), vip_send_notify_thread(), vip_sent_callback(), vip_vi_transition_to_error_state(), VipConnectAccept(), VipConnectPeerDone(), VipConnectPeerRequest(), VipConnectPeerWait(), VipConnectReject(), VipConnectRequest(), VipCQDone(), VipCQNotify(), VipCQWait(), VipDestroyCQ(), VipDestroyVi(), VipDisconnect(), VipOpenNic(), VipPostRecv(), VipPostSend(), VipRecvDone(), VipRecvNotify(), VipRecvWait(), VipResizeCQ(), VipSendDone(), VipSendNotify(), and VipSendWait().

VIP_BOOLEAN VIP_NIC::ns_initialized
 

Flag indicating if the name service is initialized or not.

Definition at line 227 of file vipl_structs.h.

Referenced by VipOpenNic().


The documentation for this struct was generated from the following file:
VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.