Go to the source code of this file.
Typedefs | |
typedef void(* | RdmaEMAckCallerFn )(int destPe, void *token) |
typedef void(* | RdmaAckCallerFn )(void *token) |
Functions | |
void | CmiSetRdmaCommonInfo (void *info, const void *ptr, int size) |
int | CmiGetRdmaCommonInfoSize (void) |
void | CmiSetRdmaBufferInfo (void *info, const void *ptr, int size, unsigned short int mode) |
void | CmiSetDirectNcpyAckHandler (RdmaAckCallerFn fn) |
void | CmiSetEMNcpyAckHandler (RdmaEMAckCallerFn fn, RdmaAckCallerFn bcastFn, RdmaAckCallerFn bcastArrayFn) |
void | CmiIssueRget (NcpyOperationInfo *ncpyOpInfo) |
void | CmiIssueRput (NcpyOperationInfo *ncpyOpInfo) |
void | CmiDeregisterMem (const void *ptr, void *info, int pe, unsigned short int mode) |
void | CmiIssueRgetUsingCMA (const void *srcAddr, void *srcInfo, int srcPe, const void *destAddr, void *destInfo, int destPe, int size) |
void | CmiIssueRputUsingCMA (const void *destAddr, void *destInfo, int destPe, const void *srcAddr, void *srcInfo, int srcPe, int size) |
void * | CmiRdmaAlloc (int size) |
int | CmiDoesCMAWork (void) |
void | CmiInvokeRemoteAckHandler (int pe, void *ref) |
void | CmiInvokeBcastAckHandler (int pe, void *ref) |
void | CmiInvokeBcastPostAckHandler (int pe, void *ref) |
void | CmiOnesidedDirectInit (void) |
void | CmiForwardProcBcastMsg (int size, char *msg) |
void | CmiForwardNodeBcastMsg (int size, char *msg) |
void | CmiForwardMsgToPeers (int size, char *msg) |
void | CmiInvokeRemoteDeregAckHandler (int pe, NcpyOperationInfo *info) |
typedef void(* RdmaEMAckCallerFn)(int destPe, void *token) |
Definition at line 6 of file conv-rdma.h.
typedef void(* RdmaAckCallerFn)(void *token) |
Definition at line 7 of file conv-rdma.h.
void CmiSetRdmaCommonInfo | ( | void * | info, | |
const void * | ptr, | |||
int | size | |||
) |
Definition at line 8 of file conv-rdma.C.
References _cmi_common_rdma_info::pid.
Referenced by CkNcpyBuffer::registerMem().
int CmiGetRdmaCommonInfoSize | ( | void | ) |
Definition at line 11 of file conv-rdma.C.
Referenced by _roRdmaDoneHandler(), CkRdmaEMAckHandler(), CkNcpyBuffer::deregisterMem(), deregisterMemFromMsg(), handleReverseEntryMethodApiCompletion(), performEmApiCmaTransfer(), performEmApiRget(), CkNcpyBuffer::rdmaGet(), CkNcpyBuffer::rdmaPut(), readonlyGet(), readonlyGetCompleted(), and CkNcpyBuffer::registerMem().
Definition at line 120 of file conv-rdma.C.
References LrtsSetRdmaBufferInfo().
Referenced by performEmApiCmaTransfer(), performEmApiRget(), CkNcpyBuffer::rdmaGet(), CkNcpyBuffer::rdmaPut(), and CkNcpyBuffer::registerMem().
void CmiSetDirectNcpyAckHandler | ( | RdmaAckCallerFn | fn | ) |
Definition at line 68 of file conv-rdma.C.
References ncpyDirectAckHandlerFn.
Referenced by _initCharm().
void CmiSetEMNcpyAckHandler | ( | RdmaEMAckCallerFn | fn, | |
RdmaAckCallerFn | bcastFn, | |||
RdmaAckCallerFn | bcastArrayFn | |||
) |
Definition at line 176 of file conv-rdma.C.
References ncpyEMAckHandlerFn, ncpyEMBcastAckHandlerFn, and ncpyEMBcastPostAckHandlerFn.
Referenced by _initCharm().
void CmiIssueRget | ( | NcpyOperationInfo * | ncpyOpInfo | ) |
Definition at line 72 of file conv-rdma.C.
References CmiAlloc(), CmiFree(), Converse::CmiSyncSendAndFree(), get_request_handler_idx, LrtsIssueRget(), and ncpystruct::ncpyOpInfoSize.
Referenced by performRgets(), CkNcpyBuffer::rdmaGet(), and readonlyGet().
void CmiIssueRput | ( | NcpyOperationInfo * | ncpyOpInfo | ) |
Definition at line 91 of file conv-rdma.C.
References CmiAlloc(), Converse::CmiSyncSendAndFree(), LrtsIssueRput(), ncpyDirectAckHandlerFn, ncpystruct::ncpyOpInfoSize, put_data_handler_idx, size, and ncpystruct::srcSize.
Referenced by getRequestHandler(), and CkNcpyBuffer::rdmaPut().
Definition at line 122 of file conv-rdma.C.
References LrtsDeregisterMem().
Referenced by _roRdmaDoneHandler(), CkRdmaEMAckHandler(), CkNcpyBuffer::deregisterMem(), deregisterMemFromMsg(), handleReverseEntryMethodApiCompletion(), readonlyGet(), and readonlyGetCompleted().
void CmiIssueRgetUsingCMA | ( | const void * | srcAddr, | |
void * | srcInfo, | |||
int | srcPe, | |||
const void * | destAddr, | |||
void * | destInfo, | |||
int | destPe, | |||
int | size | |||
) |
Definition at line 35 of file machine-rdma.h.
References _cmi_common_rdma_info::pid, and readShmCma().
Referenced by CkNcpyBuffer::cmaGet().
void CmiIssueRputUsingCMA | ( | const void * | destAddr, | |
void * | destInfo, | |||
int | destPe, | |||
const void * | srcAddr, | |||
void * | srcInfo, | |||
int | srcPe, | |||
int | size | |||
) |
Definition at line 60 of file machine-rdma.h.
References _cmi_common_rdma_info::pid, and writeShmCma().
Referenced by CkNcpyBuffer::cmaPut().
int CmiDoesCMAWork | ( | void | ) |
Definition at line 441 of file machine-common-core.C.
References cma_works.
Referenced by findTransferMode().
void CmiInvokeRemoteAckHandler | ( | int | pe, | |
void * | ref | |||
) |
Definition at line 160 of file conv-rdma.C.
References CmiAlloc(), Converse::CmiSyncSendAndFree(), invoke_entry_method_ack_handler_idx, msg, and _ackEntryMethodMsg::ref.
Referenced by handleBcastReverseEntryMethodApiCompletion(), and handleReverseEntryMethodApiCompletion().
void CmiInvokeBcastAckHandler | ( | int | pe, | |
void * | ref | |||
) |
Definition at line 187 of file conv-rdma.C.
References CmiAlloc(), Converse::CmiSyncSendAndFree(), msg, ncpy_bcast_ack_handler_idx, and _ackEntryMethodMsg::ref.
Referenced by CkRdmaEMBcastAckHandler(), handleMsgUsingCMAPostCompletionForSendBcast(), and sendAckMsgToParent().
void CmiInvokeBcastPostAckHandler | ( | int | pe, | |
void * | ref | |||
) |
Definition at line 196 of file conv-rdma.C.
References CmiAlloc(), Converse::CmiSyncSendAndFree(), msg, ncpy_bcast_post_handler_idx, and _ackEntryMethodMsg::ref.
Referenced by processBcastRecvEmApiCompletion().
void CmiOnesidedDirectInit | ( | void | ) |
Definition at line 63 of file conv-rdma.C.
References CmiRegisterHandler(), get_request_handler_idx, getRequestHandler(), put_data_handler_idx, and putDataHandler().
Referenced by ConverseCommonInit().
void CmiForwardProcBcastMsg | ( | int | size, | |
char * | msg | |||
) |
Definition at line 124 of file machine-broadcast.C.
References forwardProcBcastMsg().
Referenced by forwardMessageToChildNodes(), readonlyGet(), and readonlyGetCompleted().
void CmiForwardNodeBcastMsg | ( | int | size, | |
char * | msg | |||
) |
Definition at line 100 of file machine-broadcast.C.
References forwardNodeBcastMsg().
Referenced by forwardMessageToChildNodes().
void CmiForwardMsgToPeers | ( | int | size, | |
char * | msg | |||
) |
Definition at line 130 of file machine-broadcast.C.
References SendToPeers().
Referenced by _processRODataMsg(), _sendReadonlies(), forwardMessageToPeerNodes(), and sendRecvDoneMsgToPeers().
void CmiInvokeRemoteDeregAckHandler | ( | int | pe, | |
NcpyOperationInfo * | info | |||
) |
Definition at line 144 of file machine-rdma.h.
References LrtsInvokeRemoteDeregAckHandler().
Referenced by handleEntryMethodApiCompletion().