PPL Logo

arch/util/machine-rdma.h File Reference

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 Documentation

typedef void(* RdmaAckHandlerFn)(void *token)

Definition at line 5 of file machine-rdma.h.


Function Documentation

void CmiSetRdmaCommonInfo ( void *  info,
const void *  ptr,
int  size 
)

Definition at line 17 of file machine-rdma.h.

References _cmi_common_rdma_info::pid.

int CmiGetRdmaCommonInfoSize ( void   ) 

Definition at line 24 of file machine-rdma.h.

int readShmCma ( pid_t  ,
struct iovec *  ,
struct iovec *  ,
int  ,
size_t   
)

Definition at line 48 of file machine-cma.C.

References CmiAbort().

Referenced by CmiIssueRgetUsingCMA(), and handleOneCmaMdMsg().

Here is the call graph for this function:

Here is the caller graph for this function:

int writeShmCma ( pid_t  ,
struct iovec *  ,
struct iovec *  ,
int  ,
size_t   
)

Definition at line 66 of file machine-cma.C.

References CmiAbort().

Referenced by CmiIssueRputUsingCMA().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void LrtsSetRdmaBufferInfo ( void *  info,
const void *  ptr,
int  size,
unsigned short int  mode 
)

Definition at line 30 of file machine-onesided.h.

Referenced by CmiSetRdmaBufferInfo().

Here is the caller graph for this function:

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 
)

Definition at line 137 of file machine-onesided.C.

Referenced by CmiDeregisterMem().

Here is the caller graph for this function:

void LrtsInvokeRemoteDeregAckHandler ( int  pe,
NcpyOperationInfo ncpyOpInfo 
)

Referenced by CmiInvokeRemoteDeregAckHandler().

Here is the caller graph for this function:

void CmiSetRdmaBufferInfo ( void *  info,
const void *  ptr,
int  size,
unsigned short int  mode 
)

Definition at line 113 of file machine-rdma.h.

References LrtsSetRdmaBufferInfo().

Here is the call graph for this function:

void CmiInvokeNcpyAck ( void *  ack  ) 

Definition at line 117 of file machine-rdma.h.

References ncpyDirectAckHandlerFn.

Referenced by ReleasePostedMessages().

Here is the caller graph for this function:

void CmiSetDirectNcpyAckHandler ( RdmaAckHandlerFn  fn  ) 

Definition at line 122 of file machine-rdma.h.

References ncpyDirectAckHandlerFn.

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.

Here is the call graph for this function:

void CmiIssueRput ( NcpyOperationInfo ncpyOpInfo  ) 

void CmiDeregisterMem ( const void *  ptr,
void *  info,
int  pe,
unsigned short int  mode 
)

Definition at line 139 of file machine-rdma.h.

References LrtsDeregisterMem().

Here is the call graph for this function:

void CmiInvokeRemoteDeregAckHandler ( int  pe,
NcpyOperationInfo ncpyOpInfo 
)

Definition at line 144 of file machine-rdma.h.

References LrtsInvokeRemoteDeregAckHandler().

Referenced by handleEntryMethodApiCompletion().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

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.


Generated on Mon Sep 21 07:56:48 2020 for Charm++ by  doxygen 1.5.5