PPL Logo

conv-core/conv-rdma.C File Reference

Go to the source code of this file.

Data Structures

struct  _converseRdmaMsg
struct  _ackEntryMethodMsg

Typedefs

typedef struct _converseRdmaMsg ConverseRdmaMsg
typedef struct _ackEntryMethodMsg ackEntryMethodMsg

Functions

void CmiSetRdmaCommonInfo (void *info, const void *ptr, int size)
int CmiGetRdmaCommonInfoSize ()
static void getRequestHandler (ConverseRdmaMsg *getReqMsg)
static void putDataHandler (ConverseRdmaMsg *payloadMsg)
void CmiOnesidedDirectInit (void)
void CmiSetDirectNcpyAckHandler (RdmaAckCallerFn fn)
void CmiIssueRget (NcpyOperationInfo *ncpyOpInfo)
void CmiIssueRput (NcpyOperationInfo *ncpyOpInfo)
void CmiSetRdmaBufferInfo (void *info, const void *ptr, int size, unsigned short int mode)
void CmiDeregisterMem (const void *ptr, void *info, int pe, unsigned short int mode)
static void ackEntryMethodHandler (ackEntryMethodMsg *msg)
static void bcastAckHandler (ackEntryMethodMsg *msg)
static void bcastPostAckArrayHandler (ackEntryMethodMsg *msg)
void CmiInvokeRemoteAckHandler (int pe, void *ref)
void CmiSetEMNcpyAckHandler (RdmaEMAckCallerFn fn, RdmaAckCallerFn bcastFn, RdmaAckCallerFn bcastArrayFn)
void CmiInvokeBcastAckHandler (int pe, void *ref)
void CmiInvokeBcastPostAckHandler (int pe, void *ref)

Variables

RdmaAckCallerFn ncpyDirectAckHandlerFn
static int get_request_handler_idx
static int put_data_handler_idx
RdmaEMAckCallerFn ncpyEMAckHandlerFn
RdmaAckCallerFn ncpyEMBcastAckHandlerFn
RdmaAckCallerFn ncpyEMBcastPostAckHandlerFn
static int invoke_entry_method_ack_handler_idx
static int ncpy_bcast_ack_handler_idx
static int ncpy_bcast_post_handler_idx


Typedef Documentation


Function Documentation

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

Definition at line 8 of file conv-rdma.C.

Referenced by CkNcpyBuffer::registerMem().

Here is the caller graph for this function:

int CmiGetRdmaCommonInfoSize ( void   ) 

static void getRequestHandler ( ConverseRdmaMsg getReqMsg  )  [static]

Definition at line 31 of file conv-rdma.C.

References CmiIssueRput(), ncpystruct::freeMe, and resetNcpyOpInfoPointers().

Referenced by CmiOnesidedDirectInit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void putDataHandler ( ConverseRdmaMsg payloadMsg  )  [static]

Definition at line 44 of file conv-rdma.C.

References ncpystruct::ackMode, ncpystruct::destPtr, ncpystruct::freeMe, ncpyDirectAckHandlerFn, ncpystruct::ncpyOpInfoSize, resetNcpyOpInfoPointers(), and ncpystruct::srcSize.

Referenced by CmiOnesidedDirectInit().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiSetDirectNcpyAckHandler ( RdmaAckCallerFn  fn  ) 

Definition at line 68 of file conv-rdma.C.

Referenced by _initCharm().

Here is the caller graph for this function:

void CmiIssueRget ( NcpyOperationInfo ncpyOpInfo  ) 

Definition at line 72 of file conv-rdma.C.

Referenced by performRgets(), CkNcpyBuffer::rdmaGet(), and readonlyGet().

Here is the caller graph for this function:

void CmiIssueRput ( NcpyOperationInfo ncpyOpInfo  ) 

Definition at line 91 of file conv-rdma.C.

Referenced by getRequestHandler(), and CkNcpyBuffer::rdmaPut().

Here is the caller graph for this function:

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

Definition at line 120 of file conv-rdma.C.

Referenced by performEmApiCmaTransfer(), performEmApiRget(), CkNcpyBuffer::rdmaGet(), CkNcpyBuffer::rdmaPut(), and CkNcpyBuffer::registerMem().

Here is the caller graph for this function:

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

static void ackEntryMethodHandler ( ackEntryMethodMsg msg  )  [static]

Definition at line 145 of file conv-rdma.C.

References CmiMyPe(), ncpyEMAckHandlerFn, and _ackEntryMethodMsg::ref.

Here is the call graph for this function:

static void bcastAckHandler ( ackEntryMethodMsg msg  )  [static]

Definition at line 151 of file conv-rdma.C.

References ncpyEMBcastAckHandlerFn, and _ackEntryMethodMsg::ref.

static void bcastPostAckArrayHandler ( ackEntryMethodMsg msg  )  [static]

Definition at line 155 of file conv-rdma.C.

References ncpyEMBcastPostAckHandlerFn, and _ackEntryMethodMsg::ref.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 27 of file conv-rdma.C.

Referenced by CmiIssueRget(), and CmiOnesidedDirectInit().

Definition at line 28 of file conv-rdma.C.

Referenced by CmiIssueRput(), and CmiOnesidedDirectInit().

Definition at line 128 of file conv-rdma.C.

Referenced by ackEntryMethodHandler(), and CmiSetEMNcpyAckHandler().

Definition at line 130 of file conv-rdma.C.

Referenced by bcastAckHandler(), and CmiSetEMNcpyAckHandler().

Definition at line 132 of file conv-rdma.C.

Referenced by bcastPostAckArrayHandler(), and CmiSetEMNcpyAckHandler().

Definition at line 134 of file conv-rdma.C.

Referenced by CmiInvokeRemoteAckHandler().

Definition at line 134 of file conv-rdma.C.

Referenced by CmiInvokeBcastAckHandler().

Definition at line 135 of file conv-rdma.C.

Referenced by CmiInvokeBcastPostAckHandler().


Generated on Mon Sep 21 08:00:30 2020 for Charm++ by  doxygen 1.5.5