Go to the source code of this file.
Data Structures | |
struct | _cmi_common_rdma_info |
struct | _cmi_rdma_direct_ack |
Typedefs | |
typedef void(* | RdmaAckHandlerFn )(void *token) |
typedef struct _cmi_common_rdma_info | CmiCommonRdmaInfo_t |
typedef struct _cmi_rdma_direct_ack | CmiRdmaDirectAck |
Functions | |
void | CmiSetRdmaCommonInfo (void *info, const void *ptr, int size) |
int | CmiGetRdmaCommonInfoSize () |
int | readShmCma (pid_t, struct iovec *, struct iovec *, int, size_t) |
int | writeShmCma (pid_t, struct iovec *, struct iovec *, int, size_t) |
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 | LrtsSetRdmaBufferInfo (void *info, const void *ptr, int size, unsigned short int mode) |
void | LrtsSetRdmaNcpyAck (RdmaAckHandlerFn fn) |
void | LrtsIssueRget (NcpyOperationInfo *ncpyOpInfo) |
void | LrtsIssueRput (NcpyOperationInfo *ncpyOpInfo) |
void | LrtsDeregisterMem (const void *ptr, void *info, int pe, unsigned short int mode) |
void | LrtsInvokeRemoteDeregAckHandler (int pe, NcpyOperationInfo *ncpyOpInfo) |
void | CmiSetRdmaBufferInfo (void *info, const void *ptr, int size, unsigned short int mode) |
void | CmiInvokeNcpyAck (void *ack) |
void | CmiSetDirectNcpyAckHandler (RdmaAckHandlerFn fn) |
void | CmiIssueRget (NcpyOperationInfo *ncpyOpInfo) |
void | CmiIssueRput (NcpyOperationInfo *ncpyOpInfo) |
void | CmiDeregisterMem (const void *ptr, void *info, int pe, unsigned short int mode) |
void | CmiInvokeRemoteDeregAckHandler (int pe, NcpyOperationInfo *ncpyOpInfo) |
Variables | |
int | cma_works |
RdmaAckHandlerFn | ncpyDirectAckHandlerFn |
typedef void(* RdmaAckHandlerFn)(void *token) |
Definition at line 5 of file machine-rdma.h.
typedef struct _cmi_common_rdma_info CmiCommonRdmaInfo_t |
typedef struct _cmi_rdma_direct_ack CmiRdmaDirectAck |
void CmiSetRdmaCommonInfo | ( | void * | info, | |
const void * | ptr, | |||
int | size | |||
) |
int CmiGetRdmaCommonInfoSize | ( | void | ) |
Definition at line 24 of file machine-rdma.h.
Definition at line 48 of file machine-cma.C.
References CmiAbort().
Referenced by CmiIssueRgetUsingCMA(), and handleOneCmaMdMsg().
Definition at line 66 of file machine-cma.C.
References CmiAbort().
Referenced by CmiIssueRputUsingCMA().
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().
Definition at line 30 of file machine-onesided.h.
Referenced by CmiSetRdmaBufferInfo().
void LrtsSetRdmaNcpyAck | ( | RdmaAckHandlerFn | fn | ) |
void LrtsIssueRget | ( | NcpyOperationInfo * | ncpyOpInfo | ) |
Definition at line 68 of file machine-onesided.C.
References allocateSmsgList(), Cmi_smp_mode_setting, CmiNodeOf(), COMM_THREAD_SEND_RECV, ncpystruct::destPtr, EnqueueMsg(), getNewMPITag(), MPIPostOneBuffer(), MPISendOneMsg(), ncpystruct::ncpyOpInfoSize, ONESIDED_BUFFER_DIRECT_RECV, POST_DIRECT_SEND, ncpystruct::srcPe, ncpystruct::srcSize, ncpystruct::tag, and tag.
Referenced by CmiIssueRget().
void LrtsIssueRput | ( | NcpyOperationInfo * | ncpyOpInfo | ) |
Definition at line 103 of file machine-onesided.C.
References allocateSmsgList(), Cmi_smp_mode_setting, CmiNodeOf(), COMM_THREAD_SEND_RECV, ncpystruct::destPe, EnqueueMsg(), getNewMPITag(), MPIPostOneBuffer(), MPISendOneMsg(), ncpystruct::ncpyOpInfoSize, ONESIDED_BUFFER_DIRECT_SEND, POST_DIRECT_RECV, ncpystruct::srcPtr, ncpystruct::srcSize, ncpystruct::tag, and tag.
Referenced by CmiIssueRput().
Definition at line 137 of file machine-onesided.C.
Referenced by CmiDeregisterMem().
void LrtsInvokeRemoteDeregAckHandler | ( | int | pe, | |
NcpyOperationInfo * | ncpyOpInfo | |||
) |
Definition at line 113 of file machine-rdma.h.
References LrtsSetRdmaBufferInfo().
void CmiInvokeNcpyAck | ( | void * | ack | ) |
Definition at line 117 of file machine-rdma.h.
References ncpyDirectAckHandlerFn.
Referenced by ReleasePostedMessages().
void CmiSetDirectNcpyAckHandler | ( | RdmaAckHandlerFn | fn | ) |
void CmiIssueRget | ( | NcpyOperationInfo * | ncpyOpInfo | ) |
Definition at line 127 of file machine-rdma.h.
References CmiAlloc(), CmiFree(), Converse::CmiSyncSendAndFree(), get_request_handler_idx, LrtsIssueRget(), and ncpystruct::ncpyOpInfoSize.
void CmiIssueRput | ( | NcpyOperationInfo * | ncpyOpInfo | ) |
Definition at line 133 of file machine-rdma.h.
References CmiAlloc(), Converse::CmiSyncSendAndFree(), LrtsIssueRput(), ncpyDirectAckHandlerFn, ncpystruct::ncpyOpInfoSize, put_data_handler_idx, size, and ncpystruct::srcSize.
Definition at line 139 of file machine-rdma.h.
References LrtsDeregisterMem().
void CmiInvokeRemoteDeregAckHandler | ( | int | pe, | |
NcpyOperationInfo * | ncpyOpInfo | |||
) |
Definition at line 144 of file machine-rdma.h.
References LrtsInvokeRemoteDeregAckHandler().
Referenced by handleEntryMethodApiCompletion().
Definition at line 439 of file machine-common-core.C.
Referenced by CmiDoesCMAWork(), CmiInitCma(), and ConverseInit().
Definition at line 89 of file machine-rdma.h.