12 #ifndef MCA_BTL_ELAN_FRAG_H
13 #define MCA_BTL_ELAN_FRAG_H
15 #include "ompi_config.h"
20 #define MCA_BTL_ELAN_HDR_TYPE_SEND 1
21 #define MCA_BTL_ELAN_HDR_TYPE_PUT 2
22 #define MCA_BTL_ELAN_HDR_TYPE_GET 3
23 #define MCA_BTL_ELAN_HDR_TYPE_RECV 4
36 mca_btl_base_tag_t tag;
37 struct ELAN_EVENT* elan_event;
60 #define MCA_BTL_ELAN_FRAG_ALLOC_LIST( list, frag, rc ) \
62 ompi_free_list_item_t *item; \
63 OMPI_FREE_LIST_GET(&(list), item, rc); \
64 frag = (mca_btl_elan_frag_t*) item; \
67 #define MCA_BTL_ELAN_FRAG_ALLOC_EAGER(frag, rc) \
68 MCA_BTL_ELAN_FRAG_ALLOC_LIST(mca_btl_elan_component.elan_frag_eager, frag, rc)
70 #define MCA_BTL_ELAN_FRAG_ALLOC_MAX(frag, rc) \
71 MCA_BTL_ELAN_FRAG_ALLOC_LIST(mca_btl_elan_component.elan_frag_max, frag, rc)
73 #define MCA_BTL_ELAN_FRAG_ALLOC_USER(frag, rc) \
74 MCA_BTL_ELAN_FRAG_ALLOC_LIST(mca_btl_elan_component.elan_frag_user, frag, rc)
76 #define MCA_BTL_ELAN_FRAG_RETURN(frag) \
78 OMPI_FREE_LIST_RETURN(frag->my_list, \
79 (ompi_free_list_item_t*)(frag)); \
A descriptor that holds the parameters to a send/put/get operation along w/ a callback routine that i...
Definition: btl.h:275
Elan send fragment derived type.
Definition: btl_elan_frag.h:29
BTL Module Interface.
Definition: btl_elan.h:83
Definition: ompi_free_list.h:39
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
Describes a region/segment of memory that is addressable by an BTL.
Definition: btl.h:236
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236