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

VIP_GM Struct Reference

#include <vipl_structs.h>


Data Fields

gm_portgm_port
VIP_PVOID ** recv_buffers
VIP_PVOID ** send_buffers
VIP_PVOIDsend_buffers_free
gm_lookaside * vip_send_req_lookaside
VIP_SEND_REQsend_fifo_head
VIP_SEND_REQsend_fifo_tail
VIP_UINTPTR memory_registered
VIP_UINT32 send_buf_free_cnt
VIP_UINT32 send_fifo_queued
VIP_UINT32 ref_count
VIP_UINT32 gm_id
VIP_UINT32 conn_mgr_gm_id
VIP_UINT32 magic
gm_alarm_t alive_alarm
VIP_PACKET_ALIVEalive_buffer
VIP_CONNhead_waiting_conn_ptr
VIP_CONNtail_waiting_conn_ptr
VIP_NICvip_nic_ptrs [VI_GM_MAX_NIC_HANDLES+1]
gm_lookaside * notify_lookaside
gm_lookaside * regmem_avl_lookaside
VIP_AVL_TREE_T regmem_avl_tree
VIP_UINT16 gm_board_id
VIP_UINT16 gm_port_id
VIP_UINT16 recv_tokens
VIP_UINT16 max_recv_tokens
VIP_UINT16 send_tokens
VIP_UINT16 max_send_tokens
VIP_THREAD_T plumber_periodic
VIP_THREAD_T plumber_blocking
VIP_MUTEX_T lock
VIP_MUTEX_T recv_lock
VIP_SEMAPHORE_T blocking_plumber_tokens
VIP_BOOLEAN periodic_plumber_cancelled
VIP_BOOLEAN blocking_plumber_cancelled
VIP_UCHAR mac_address [VI_GM_MAC_ADDRESS_LEN]


Detailed Description

A structure describing the use of a GM port.

Definition at line 105 of file vipl_structs.h.


Field Documentation

struct gm_port* VIP_GM::gm_port
 

GM port used to access a local Myrinet board.

Definition at line 108 of file vipl_structs.h.

Referenced by vip_alive_alarm_callback(), vip_avl_deregister_memory(), vip_avl_register_memory(), vip_flush_fifo_send(), vip_process_send_desc(), vip_receive_event(), vip_send_data(), vip_sent_report_callback_status(), VipCloseNic(), VipConnectPeerRequest(), VipConnectRequest(), VipOpenNic(), VipQueryNic(), and VipQuerySystemManagementInfo().

VIP_PVOID** VIP_GM::recv_buffers
 

Pointer to the pre-allocated DMA-able receive buffers.

Definition at line 110 of file vipl_structs.h.

Referenced by VipCloseNic(), and VipOpenNic().

VIP_PVOID** VIP_GM::send_buffers
 

Pointer to the pre-allocated DMA-able send buffers.

Definition at line 112 of file vipl_structs.h.

Referenced by VipCloseNic(), and VipOpenNic().

VIP_PVOID* VIP_GM::send_buffers_free
 

Pointer to the free send buffers list.

Definition at line 114 of file vipl_structs.h.

Referenced by vip_allocate_packet(), vip_flush_fifo_send(), vip_resume_callback(), vip_sent_callback(), and VipOpenNic().

struct gm_lookaside* VIP_GM::vip_send_req_lookaside
 

Lookaside list of send requests.

Definition at line 116 of file vipl_structs.h.

Referenced by vip_allocate_packet(), VipCloseNic(), and VipOpenNic().

VIP_SEND_REQ* VIP_GM::send_fifo_head
 

Pointer to the first entry in the send FIFO queue.

Definition at line 118 of file vipl_structs.h.

Referenced by vip_flush_fifo_send(), vip_resume_callback(), vip_send_data(), vip_sent_callback(), and VipOpenNic().

VIP_SEND_REQ* VIP_GM::send_fifo_tail
 

Pointer to the last entry in the send FIFO queue.

Definition at line 120 of file vipl_structs.h.

Referenced by vip_flush_fifo_send(), vip_send_data(), and VipOpenNic().

VIP_UINTPTR VIP_GM::memory_registered
 

Total amount of memory registered by VI-GM on this GM port.

Definition at line 122 of file vipl_structs.h.

Referenced by VipOpenNic(), and VipRegisterMem().

VIP_UINT32 VIP_GM::send_buf_free_cnt
 

Number of send buffers currently available.

Definition at line 124 of file vipl_structs.h.

Referenced by vip_allocate_packet(), vip_flush_fifo_send(), vip_resume_callback(), vip_sent_callback(), and VipOpenNic().

VIP_UINT32 VIP_GM::send_fifo_queued
 

Number of messages currently queued in the send FIFO.

Definition at line 126 of file vipl_structs.h.

Referenced by vip_flush_fifo_send(), vip_send_data(), and VipOpenNic().

VIP_UINT32 VIP_GM::ref_count
 

Number of NICs using this GM port.

Definition at line 128 of file vipl_structs.h.

Referenced by VipCloseNic(), and VipOpenNic().

VIP_UINT32 VIP_GM::gm_id
 

GM Id of the Myrinet interface.

Definition at line 130 of file vipl_structs.h.

Referenced by vip_handle_conn_req(), vip_sent_report_callback_status(), and VipOpenNic().

VIP_UINT32 VIP_GM::conn_mgr_gm_id
 

GM Id of the associated connection manager (on the same node).

Definition at line 132 of file vipl_structs.h.

Referenced by vip_alive_alarm_callback(), vip_alive_sent_callback(), and VipOpenNic().

VIP_UINT32 VIP_GM::magic
 

Magic number of this VI-GM endpoint, used for connection.

Definition at line 134 of file vipl_structs.h.

Referenced by vip_alive_alarm_callback(), vip_handle_conn_req(), and VipOpenNic().

gm_alarm_t VIP_GM::alive_alarm
 

GM alarm used to trigger the heartbeat messages sends.

Definition at line 136 of file vipl_structs.h.

Referenced by vip_alive_alarm_callback(), VipCloseNic(), and VipOpenNic().

VIP_PACKET_ALIVE* VIP_GM::alive_buffer
 

DMA-able buffer containing the heartbeat message send periodically.

Definition at line 138 of file vipl_structs.h.

Referenced by vip_alive_alarm_callback(), vip_alive_sent_callback(), VipCloseNic(), and VipOpenNic().

struct VIP_CONN* VIP_GM::head_waiting_conn_ptr
 

Pointer to the first CONN structure in the waiting connection list.

Definition at line 140 of file vipl_structs.h.

Referenced by vip_handle_conn_req(), vip_remove_conn_waiting_list(), VipConnectPeerRequest(), VipConnectWait(), and VipOpenNic().

struct VIP_CONN* VIP_GM::tail_waiting_conn_ptr
 

Pointer to the last CONN structure in the waiting connection list.

Definition at line 142 of file vipl_structs.h.

Referenced by vip_handle_conn_req(), vip_remove_conn_waiting_list(), VipConnectPeerRequest(), VipConnectWait(), and VipOpenNic().

struct VIP_NIC* VIP_GM::vip_nic_ptrs[VI_GM_MAX_NIC_HANDLES+1]
 

Array of the pointers of the allocated NIC handles.

Definition at line 144 of file vipl_structs.h.

Referenced by vip_check_nic_and_vi(), vip_handle_report(), VipCloseNic(), and VipOpenNic().

struct gm_lookaside* VIP_GM::notify_lookaside
 

Lookaside list of notify handlers.

Definition at line 146 of file vipl_structs.h.

Referenced by VipCloseNic(), VipCQNotify(), VipOpenNic(), VipRecvNotify(), and VipSendNotify().

struct gm_lookaside* VIP_GM::regmem_avl_lookaside
 

Lookaside list of basic AVL structures.

Definition at line 148 of file vipl_structs.h.

Referenced by vip_avl_register_memory(), VipCloseNic(), and VipOpenNic().

VIP_AVL_TREE_T VIP_GM::regmem_avl_tree
 

Registration AVL tree, used as a registration cache.

Definition at line 150 of file vipl_structs.h.

Referenced by vip_avl_deregister_memory(), vip_avl_register_memory(), VipCloseNic(), and VipOpenNic().

VIP_UINT16 VIP_GM::gm_board_id
 

Board number of the Myrinet interface.

Definition at line 152 of file vipl_structs.h.

Referenced by VipCloseNic(), VipOpenNic(), and VipQueryNic().

VIP_UINT16 VIP_GM::gm_port_id
 

Port number of the GM port.

Definition at line 154 of file vipl_structs.h.

Referenced by vip_handle_conn_req(), vip_sent_report_callback_status(), and VipOpenNic().

VIP_UINT16 VIP_GM::recv_tokens
 

Current number of available receive tokens.

Definition at line 156 of file vipl_structs.h.

Referenced by VipOpenNic().

VIP_UINT16 VIP_GM::max_recv_tokens
 

Total number of receive tokens provided by the GM port.

Definition at line 158 of file vipl_structs.h.

Referenced by VipOpenNic().

VIP_UINT16 VIP_GM::send_tokens
 

Current number of available send tokens.

Definition at line 160 of file vipl_structs.h.

Referenced by vip_flush_fifo_send(), vip_resume_callback(), vip_send_data(), vip_sent_callback(), and VipOpenNic().

VIP_UINT16 VIP_GM::max_send_tokens
 

Total number of send tokens provided by the GM port.

Definition at line 162 of file vipl_structs.h.

Referenced by vip_resume_callback(), vip_sent_callback(), and VipOpenNic().

VIP_THREAD_T VIP_GM::plumber_periodic
 

Thread in charge of periodically polling the GM port.

Definition at line 164 of file vipl_structs.h.

Referenced by VipCloseNic(), and VipOpenNic().

VIP_THREAD_T VIP_GM::plumber_blocking
 

Thread blocking on the GM port when needed.

Definition at line 166 of file vipl_structs.h.

Referenced by VipCloseNic(), and VipOpenNic().

VIP_MUTEX_T VIP_GM::lock
 

Lock to manage concurrent access to GM and this structure.

Definition at line 168 of file vipl_structs.h.

Referenced by vip_alive_alarm_callback(), vip_alive_sent_callback(), vip_allocate_packet(), vip_avl_deregister_memory(), vip_avl_register_memory(), vip_cq_notify_thread(), vip_flush_fifo_send(), vip_generate_async_error(), vip_notify_desc_completion(), vip_plumber_blocking(), vip_plumber_periodic(), vip_process_send_desc(), vip_receive_event(), vip_recv_notify_thread(), vip_remove_conn_waiting_list(), vip_resume_callback(), vip_send_data(), vip_send_notify_thread(), vip_sent_callback(), vip_vi_transition_to_error_state(), vip_wait_for_notification(), VipCloseNic(), VipConnectAccept(), VipConnectPeerRequest(), VipConnectPeerWait(), VipConnectReject(), VipConnectRequest(), VipConnectWait(), VipCQDone(), VipCQNotify(), VipCQWait(), VipDeregisterMem(), VipDestroyVi(), VipDisconnect(), VipOpenNic(), VipPostRecv(), VipPostSend(), VipQueryNic(), VipQuerySystemManagementInfo(), VipRecvDone(), VipRecvNotify(), VipRecvWait(), VipRegisterMem(), VipSendDone(), VipSendNotify(), and VipSendWait().

VIP_MUTEX_T VIP_GM::recv_lock
 

Lock to manage concurrent access to the GM receive code path.

Definition at line 170 of file vipl_structs.h.

Referenced by vip_plumber_blocking(), vip_plumber_periodic(), VipCloseNic(), VipDisconnect(), and VipOpenNic().

VIP_SEMAPHORE_T VIP_GM::blocking_plumber_tokens
 

Semaphore used to trigger the activity of the blocking plumber thread from several VI-GM threads.

Definition at line 173 of file vipl_structs.h.

Referenced by vip_plumber_blocking(), vip_wait_for_notification(), VipCloseNic(), and VipOpenNic().

VIP_BOOLEAN VIP_GM::periodic_plumber_cancelled
 

Flag indicating if the periodic plumber thread should be stopped.

Definition at line 175 of file vipl_structs.h.

Referenced by vip_plumber_periodic(), VipCloseNic(), and VipOpenNic().

VIP_BOOLEAN VIP_GM::blocking_plumber_cancelled
 

Flag indicating if the blocking plumber thread should be stopped.

Definition at line 177 of file vipl_structs.h.

Referenced by vip_plumber_blocking(), VipCloseNic(), and VipOpenNic().

VIP_UCHAR VIP_GM::mac_address[VI_GM_MAC_ADDRESS_LEN]
 

GM name of the associated Myrinet interface.

Definition at line 179 of file vipl_structs.h.

Referenced by VipConnectPeerRequest(), VipConnectRequest(), VipConnectWait(), VipOpenNic(), and VipQueryNic().


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.