lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
Pds::Fabrics::RemoteAddress Class Reference

Remote memory descriptor (address, length, key) for RMA calls; its fields are reinterpreted as a struct fi_rma_iov by rma_iov(). More...

#include <Endpoint.hh>

Public Member Functions

 RemoteAddress ()
 Construct with addr, extent and rkey all zero.
 
 RemoteAddress (uint64_t rkey, uint64_t addr, size_t extent)
 Construct from a remote key, a remote address and the extent (length) of the remote region.
 
const struct fi_rma_iov * rma_iov () const
 Return this object reinterpreted as a const struct fi_rma_iov pointer (relies on the addr, extent, rkey member order).
 

Public Attributes

uint64_t addr
 Remote address (the fi_rma_iov addr field).
 
size_t extent
 Length of the remote region (the fi_rma_iov len field).
 
uint64_t rkey
 Remote protection key (the fi_rma_iov key field).
 

Detailed Description

Remote memory descriptor (address, length, key) for RMA calls; its fields are reinterpreted as a struct fi_rma_iov by rma_iov().

Constructor & Destructor Documentation

◆ RemoteAddress() [1/2]

Pds::Fabrics::RemoteAddress::RemoteAddress ( )

Construct with addr, extent and rkey all zero.

◆ RemoteAddress() [2/2]

Pds::Fabrics::RemoteAddress::RemoteAddress ( uint64_t  rkey,
uint64_t  addr,
size_t  extent 
)

Construct from a remote key, a remote address and the extent (length) of the remote region.

Member Function Documentation

◆ rma_iov()

const struct fi_rma_iov * Pds::Fabrics::RemoteAddress::rma_iov ( ) const

Return this object reinterpreted as a const struct fi_rma_iov pointer (relies on the addr, extent, rkey member order).

Member Data Documentation

◆ addr

uint64_t Pds::Fabrics::RemoteAddress::addr

Remote address (the fi_rma_iov addr field).

◆ extent

size_t Pds::Fabrics::RemoteAddress::extent

Length of the remote region (the fi_rma_iov len field).

◆ rkey

uint64_t Pds::Fabrics::RemoteAddress::rkey

Remote protection key (the fi_rma_iov key field).


The documentation for this class was generated from the following file: