UCX
1.8
Unified Communication X
|
Posted tag context. More...
Data Fields | |
void(* | tag_consumed_cb )(uct_tag_context_t *self) |
void(* | completed_cb )(uct_tag_context_t *self, uct_tag_t stag, uint64_t imm, size_t length, ucs_status_t status) |
void(* | rndv_cb )(uct_tag_context_t *self, uct_tag_t stag, const void *header, unsigned header_length, ucs_status_t status) |
char | priv [UCT_TAG_PRIV_LEN] |
Tag context is an object which tracks a tag posted to the transport. It contains callbacks for matching events on this tag.
void(* uct_tag_context::tag_consumed_cb) (uct_tag_context_t *self) |
Tag is consumed by the transport and should not be matched in software.
[in] | self | Pointer to relevant context structure, which was initially passed to uct_iface_tag_recv_zcopy. |
void(* uct_tag_context::completed_cb) (uct_tag_context_t *self, uct_tag_t stag, uint64_t imm, size_t length, ucs_status_t status) |
Tag processing is completed by the transport.
[in] | self | Pointer to relevant context structure, which was initially passed to uct_iface_tag_recv_zcopy. |
[in] | stag | Tag from sender. |
[in] | imm | Immediate data from sender. For rendezvous, it's always 0. |
[in] | length | Completed length. |
[in] | status | Completion status: (a) UCS_OK - Success, data placed in provided buffer. (b) UCS_ERR_TRUNCATED - Sender's length exceed posted buffer, no data is copied. (c) UCS_ERR_CANCELED - Canceled by user. |
void(* uct_tag_context::rndv_cb) (uct_tag_context_t *self, uct_tag_t stag, const void *header, unsigned header_length, ucs_status_t status) |
Tag was matched by a rendezvous request, which should be completed by the protocol layer.
[in] | self | Pointer to relevant context structure, which was initially passed to uct_iface_tag_recv_zcopy. |
[in] | stag | Tag from sender. |
[in] | header | User defined header. |
[in] | header_length | User defined header length in bytes. |
[in] | status | Completion status. |
char uct_tag_context::priv[UCT_TAG_PRIV_LEN] |
A placeholder for the private data used by the transport