Skip to main content

Module memory_region

Module memory_region 

Source
Expand description

Registered memory regions returned by IbvDomainImpl::register_mr.

IbvMemoryRegionView is the cheap, cloneable handle this process addresses its own registered memory through: the keys and addresses for a slice of registered memory, plus an Arc<dyn IbvMemoryRegionKeepalive> that keeps the backing registration’s resources alive until the last clone of the view drops.

IbvRemoteMemoryRegionView is what a peer gets instead: the same region reduced to what the wire can carry and the far side can use.

Structs§

IbvMemoryRegionView
A cloneable handle to a slice of registered memory: the keys and addresses a peer needs, plus an Arc<dyn IbvMemoryRegionKeepalive> keepalive.
IbvRemoteMemoryRegionView
What a peer needs in order to address one of our registered memory regions over RDMA: the region’s rkey, its RDMA address, its size, and the device serving it.