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

vipl_config.h File Reference

Go to the source code of this file.

Defines

#define VI_GM_HARDWARE_VERSION   0x0001
#define VI_GM_PROVIDER_VERSION   0x0100
#define VI_GM_PORT_CONN_MANAGER   2
#define VI_GM_CONN_MGR_TTL   3000
#define VI_GM_MAX_NICS   8
#define VI_GM_MAX_PORTS   16
#define VI_GM_EAGER_LENGTH   4096
#define VI_GM_NUMBER_SEND_BUF   1024
#define VI_GM_INITIAL_AVL   1024
#define VI_GM_INITIAL_NOTIFY   128
#define VI_GM_CTRL_GM_SIZE   30
#define VI_GM_PLUMBER_PERIOD   50
#define VI_GM_MAC_ADDRESS_LEN   6
#define VI_GM_MAX_DISCRIMINATOR_LEN   16
#define VI_GM_MAX_VI   16384
#define VI_GM_MAX_CQ   8192
#define VI_GM_MAX_CQ_ENTRIES   4096
#define VI_GM_MAX_PTAGS   2*VI_GM_MAX_VI
#define VI_GM_MAX_CONN   4096
#define VI_GM_MAX_REGISTER_REGIONS   16384
#define VI_GM_MAX_NIC_HANDLES   128
#define VI_GM_MAX_SEGMENTS_PER_DESCRIPTOR   252
#define VI_GM_MAX_DESCRIPTOR_PER_QUEUE   16384
#define VI_GM_MAX_REGISTER_BYTES   0x10000000
#define VI_GM_MAX_REGISTER_BLOCK_BYTES   0x08000000
#define VI_GM_MAX_TRANSFER_SIZE   0x00400000
#define VI_GM_RELIABILITY_SUPPORT
#define VI_GM_ENABLE_RDMAREAD   VIP_FALSE
#define VI_GM_THREAD_SAFE   VIP_TRUE
#define VI_GM_CATASTROPHIC_ERROR_VERBOSE   1


Detailed Description

The VI-GM configuration values definition file.

Definition in file vipl_config.h.


Define Documentation

#define VI_GM_HARDWARE_VERSION   0x0001
 

This VI-GM implementation is not bound to a specific Myrinet hardware version. This value is the version of the GM API used.

Definition at line 20 of file vipl_config.h.

Referenced by VipQueryNic().

#define VI_GM_PROVIDER_VERSION   0x0100
 

The version of this VI-GM release.

Definition at line 22 of file vipl_config.h.

Referenced by VipQueryNic().

#define VI_GM_PORT_CONN_MANAGER   2
 

The GM port used by the Connection Manager daemon to listen for incoming connection requests.

Definition at line 26 of file vipl_config.h.

Referenced by main(), vip_alive_alarm_callback(), vip_alive_sent_callback(), vip_sent_report_callback_status(), VipConnectPeerRequest(), VipConnectRequest(), and VipOpenNic().

#define VI_GM_CONN_MGR_TTL   3000
 

The maximum time the connection manager keeps an endpoint registered as "Alive". If the connection manager does not receive a heartbeat message in this delay, the corresponding endpoint is assumed terminated.

Definition at line 31 of file vipl_config.h.

Referenced by main(), and vip_alive_alarm_callback().

#define VI_GM_MAX_NICS   8
 

Maximum number of local Myrinet NICs, so maximum number of VI NICs

Definition at line 33 of file vipl_config.h.

Referenced by main(), and VipOpenNic().

#define VI_GM_MAX_PORTS   16
 

Maximum number of GM ports. Can be more than reality, just need a limit in case all of the real GM ports are busy.

Definition at line 36 of file vipl_config.h.

Referenced by main(), vip_handle_conn_list(), vip_handle_conn_nomatch(), and VipOpenNic().

#define VI_GM_EAGER_LENGTH   4096
 

Threshold between Eager protocol (copies on send and receive sides, no memory registration) and the Rendez-vous protocol.

Definition at line 40 of file vipl_config.h.

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

#define VI_GM_NUMBER_SEND_BUF   1024
 

The number of send buffers preallocated for small and control messages.

Definition at line 42 of file vipl_config.h.

Referenced by VipCloseNic(), and VipOpenNic().

#define VI_GM_INITIAL_AVL   1024
 

The number of segments preallocated in the registration AVL tree.

Definition at line 44 of file vipl_config.h.

Referenced by VipOpenNic().

#define VI_GM_INITIAL_NOTIFY   128
 

The number of notify entries preallocated.

Definition at line 46 of file vipl_config.h.

Referenced by VipOpenNic().

#define VI_GM_CTRL_GM_SIZE   30
 

The GM size used for short and control messages.

Definition at line 48 of file vipl_config.h.

Referenced by main(), vip_alive_alarm_callback(), vip_conn_mgr_send_callback(), vip_flush_fifo_send(), vip_receive_event(), vip_send_data(), and VipOpenNic().

#define VI_GM_PLUMBER_PERIOD   50
 

The period, in milliseconds, between activations of the plumber thread.

Definition at line 50 of file vipl_config.h.

Referenced by vip_plumber_periodic().

#define VI_GM_MAC_ADDRESS_LEN   6
 

The maximum length of the interface part of the network address.

Definition at line 53 of file vipl_config.h.

Referenced by vip_handle_conn_req(), vip_send_conn_request(), VipConnectPeerRequest(), VipConnectRequest(), VipConnectWait(), VipNSGetHostByAddr(), VipNSGetHostByName(), VipQueryNic(), and VipQuerySystemManagementInfo().

#define VI_GM_MAX_DISCRIMINATOR_LEN   16
 

The maximum length of the discriminator part of the network address.

Definition at line 55 of file vipl_config.h.

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

#define VI_GM_MAX_VI   16384
 

Max number of Virtual Interfaces (coded on 16 bits, so 65535 max).

Definition at line 58 of file vipl_config.h.

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

#define VI_GM_MAX_CQ   8192
 

Max number of Completion Queues (coded on 16 bits, so 65535 max).

Definition at line 60 of file vipl_config.h.

Referenced by VipOpenNic(), and VipQueryNic().

#define VI_GM_MAX_CQ_ENTRIES   4096
 

Max number of Completion Queue entries (coded on 16 bits, so 65535 max).

Definition at line 62 of file vipl_config.h.

Referenced by VipCreateCQ(), VipQueryNic(), and VipResizeCQ().

#define VI_GM_MAX_PTAGS   2*VI_GM_MAX_VI
 

Max number of Protection Tags (coded on 16 bits, so 65535 max).

Definition at line 64 of file vipl_config.h.

Referenced by VipOpenNic(), and VipQueryNic().

#define VI_GM_MAX_CONN   4096
 

Max number of pending Connections (coded on 16 bits, so 65535 max).

Definition at line 66 of file vipl_config.h.

Referenced by VipOpenNic().

#define VI_GM_MAX_REGISTER_REGIONS   16384
 

Max number of registered memory areas (coded on 16 bits, so 65535 max).

Definition at line 68 of file vipl_config.h.

Referenced by vip_check_memory_handle(), VipDeregisterMem(), VipOpenNic(), VipQueryMem(), VipQueryNic(), and VipSetMemAttributes().

#define VI_GM_MAX_NIC_HANDLES   128
 

Max number of NIC handles opened on the same GM port (coded on 16 bits, so 65535 max)

Definition at line 71 of file vipl_config.h.

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

#define VI_GM_MAX_SEGMENTS_PER_DESCRIPTOR   252
 

Max number of segments per descriptor (GM does not yet provide a non-contiguous interface, so scatter-gather is managed in software).

Definition at line 74 of file vipl_config.h.

Referenced by vip_handle_matching_message(), vip_process_send_desc(), and VipQueryNic().

#define VI_GM_MAX_DESCRIPTOR_PER_QUEUE   16384
 

Max number of descriptors per queue.

Definition at line 76 of file vipl_config.h.

Referenced by VipQueryNic().

#define VI_GM_MAX_REGISTER_BYTES   0x10000000
 

Max amount of memory registrable (GM's limit is 5/6 of the physical memory, but VI specs requires a hardcoded limit and this braindead Intel conformance test suite will expect to register up to this limit), User can change it without fear.

Definition at line 81 of file vipl_config.h.

Referenced by VipQueryNic(), and VipRegisterMem().

#define VI_GM_MAX_REGISTER_BLOCK_BYTES   0x08000000
 

Max amount of memory registrable in one region (again, not a GM limit).

Definition at line 83 of file vipl_config.h.

Referenced by VipQueryNic(), and VipRegisterMem().

#define VI_GM_MAX_TRANSFER_SIZE   0x00400000
 

Maximum transfer size (4 MB for the MTU, but the real limit is 16 MB The conformance test takes years with a MTU at 16 MB)

Definition at line 86 of file vipl_config.h.

Referenced by vip_handle_matching_message(), vip_process_send_desc(), VipCreateVi(), VipQueryNic(), and VipSetViAttributes().

#define VI_GM_RELIABILITY_SUPPORT
 

Value:

Reliability levels supported in VI-GM (all of them).

Definition at line 89 of file vipl_config.h.

Referenced by VipCreateVi(), VipQueryNic(), and VipSetViAttributes().

#define VI_GM_ENABLE_RDMAREAD   VIP_FALSE
 

RDMA Read support (disabled with GM-1, GET is implemented in GM-2).

Definition at line 95 of file vipl_config.h.

Referenced by VipCreateVi(), VipQueryMem(), VipQueryNic(), VipQueryVi(), VipRegisterMem(), VipSetMemAttributes(), and VipSetViAttributes().

#define VI_GM_THREAD_SAFE   VIP_TRUE
 

Thread safety (VI-GM should be completely thread-safe).

Definition at line 97 of file vipl_config.h.

Referenced by VipQueryNic().

#define VI_GM_CATASTROPHIC_ERROR_VERBOSE   1
 

Want to hear GM cries when he cannot send its messages ?

Definition at line 100 of file vipl_config.h.

VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.