[libfabric-users] FI_REMOTE_CQ_DATA & RMA

Hefty, Sean sean.hefty at intel.com
Mon Sep 26 09:01:02 PDT 2022


> The following is the prototype of fi_write:
> 
> ssize_t fi_write(struct fid_ep *ep, const void *buf, size_t len,
> 	void *desc, fi_addr_t dest_addr, uint64_t addr, uint64_t key,
> 	void *context);

Note that because the question asked about remote CQ data, the call of interest is fi_writedata().  But the concept is the same.  The dest_addr specifies the peer endpoint which is the target of the write operation.  The completion will be written to the receive CQ of the peer endpoint.

Data transfers are always between endpoints, and completions are based on either the initiator or target endpoint.

- Sean



More information about the Libfabric-users mailing list