13 #if !defined(MCA_BTL_UGNI_FRAG_H)
14 #define MCA_BTL_UGNI_FRAG_H
17 #include "btl_ugni_endpoint.h"
21 mca_btl_base_tag_t tag;
32 mca_btl_base_tag_t tag;
58 #define MCA_BTL_UGNI_DESC_TO_FRAG(desc) \
59 ((mca_btl_ugni_base_frag_t *)((uintptr_t) (desc) - offsetof (mca_btl_ugni_base_frag_t, post_desc)))
74 OMPI_FREE_LIST_GET(list, item, rc);
76 if (OPAL_LIKELY(NULL != item)) {
77 (*frag)->my_list = list;
78 (*frag)->endpoint = ep;
86 if (frag->registration) {
88 &frag->registration->base);
89 frag->registration = NULL;
95 #define MCA_BTL_UGNI_FRAG_ALLOC_SMSG(ep, frag) \
96 mca_btl_ugni_frag_alloc((ep), &(ep)->btl->smsg_frags, &(frag))
97 #define MCA_BTL_UGNI_FRAG_ALLOC_RDMA(ep, frag) \
98 mca_btl_ugni_frag_alloc((ep), &(ep)->btl->rdma_frags, &(frag))
99 #define MCA_BTL_UGNI_FRAG_ALLOC_RDMA_INT(ep, frag) \
100 mca_btl_ugni_frag_alloc((ep), &(ep)->btl->rdma_int_frags, &(frag))
101 #define MCA_BTL_UGNI_FRAG_ALLOC_EAGER_SEND(ep, frag) \
102 mca_btl_ugni_frag_alloc((ep), &(ep)->btl->eager_frags_send, &(frag))
103 #define MCA_BTL_UGNI_FRAG_ALLOC_EAGER_RECV(ep, frag) \
104 mca_btl_ugni_frag_alloc((ep), &(ep)->btl->eager_frags_recv, &(frag))
A descriptor that holds the parameters to a send/put/get operation along w/ a callback routine that i...
Definition: btl.h:275
Definition: btl_ugni_frag.h:43
Definition: btl_ugni.h:51
Definition: btl_ugni_frag.h:24
Definition: ompi_free_list.h:39
mca_mpool_base_module_deregister_fn_t mpool_deregister
deregister memory
Definition: mpool.h:181
Definition: btl_ugni_frag.h:19
State of ELAN endpoint connection.
Definition: btl_elan_endpoint.h:33
Definition: ompi_free_list.h:62
Definition: btl_ugni_frag.h:30
mca_mpool_base_module_t * btl_mpool
the mpool associated with this btl (optional)
Definition: btl.h:818
Definition: btl_ugni.h:241
Definition: common_ugni.h:81
Definition: btl_ugni_frag.h:37
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