21 #ifndef MCA_BTL_UD_FRAG_H
22 #define MCA_BTL_UD_FRAG_H
24 #define MCA_BTL_IB_FRAG_ALIGN (8)
26 #include <infiniband/verbs.h>
43 } mca_btl_ud_frag_type_t;
64 mca_btl_base_tag_t tag;
79 mca_btl_ud_frag_type_t type;
82 struct ibv_recv_wr rd_desc;
83 struct ibv_send_wr sr_desc;
85 struct ibv_sge sg_entry;
111 #define MCA_BTL_UD_ALLOC_FRAG(btl, frag, rc) \
113 ompi_free_list_item_t *item; \
114 OMPI_FREE_LIST_GET(&((mca_btl_ud_module_t*)btl)->send_frags, item, rc); \
115 frag = (mca_btl_ud_frag_t*) item; \
118 #define MCA_BTL_UD_RETURN_FRAG(btl, frag) \
120 OMPI_FREE_LIST_RETURN( \
121 &((mca_btl_ud_module_t*)btl)->send_frags, \
122 (ompi_free_list_item_t*)(frag)); \
126 #define MCA_BTL_UD_ALLOC_USER_FRAG(btl, frag, rc) \
128 ompi_free_list_item_t *item; \
129 OMPI_FREE_LIST_GET(&((mca_btl_ud_module_t*)btl)->user_frags, item, rc); \
130 frag = (mca_btl_ud_frag_t*) item; \
133 #define MCA_BTL_UD_RETURN_USER_FRAG(btl, frag) \
135 OMPI_FREE_LIST_RETURN( \
136 &((mca_btl_ud_module_t*)btl)->user_frags, \
137 (ompi_free_list_item_t*)(frag)); \
Definition: btl_ofud_frag.h:46
A descriptor that holds the parameters to a send/put/get operation along w/ a callback routine that i...
Definition: btl.h:275
UD/IB BTL Interface.
Definition: btl_ofud.h:126
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
IB send fragment derived type.
Definition: btl_ofud_frag.h:73
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