Class IBVMemoryRegion
Defined in File IBVUtils.h
Class Documentation
-
class IBVMemoryRegion
Infiniband Verb Memory Region that manages memory used by the RDMA context.
Public Functions
-
IBVMemoryRegion() = default
Construct a new IBVMemoryRegion object.
-
IBVMemoryRegion(IBVProtectionDomain *pd, void *addr, std::size_t length)
Construct a new IBVMemoryRegion object which registers a memory region associated with the protection domain.
- Parameters
pd – IBVProtectionDomain in which the memory region is associated
addr – pointer to the memory region
length – length of the memory region in bytes
-
~IBVMemoryRegion()
Destroy the IBVMemoryRegion object.
-
inline ibv_mr *get() const
Returns a pointer to the ibv_mr struct managed by this class.
- Returns
ibv_mr* pointer to the ibv_mr struct managed by this class.
-
IBVMemoryRegion() = default