DACS_ERR_T dacs_get ( void *dst_addr, dacs_remote_mem_t src_remote_mem, uint64_t src_remote_mem_offset, uint64_t size, dacs_wid_t wid, DACS_ORDER_ATTR_T order_attr, DACS_BYTE_SWAP_T swap )
Call parameters | |
*dst_addr | A pointer to the base address of the destination memory buffer. |
src_remote_mem | The remote memory handle of the source buffer. |
src_remote_mem_offset | The offset into the offset in remote buffer where the get is to start. |
size | The size of the transfer. |
wid | A communications wait identifier. |
order_attr | An ordering attribute. Possible values are:
|
swap | The little-endian or big-endian byte-swapping flag.Possible values are:
|
The dacs_get service returns data from the target memory, specified by src_remote_mem and src_remote_mem_offset, to the caller memory, specified by dst_addr. This operation is non-blocking (the call initiates the transfer, but the transfer may continue after the call returns). To ensure that the transfer has completed you should issue a call to dacs_wait() or dacs_test() with the same wait identifier.
The target remote memory region must have been previously accepted by the caller using a call to dacs_remote_mem_accept().