Infiniband Application's Memory Buffer Mapped into the RDMA Device's Address Space
Application's ( InfiniBand/libibverb based ) Memory Buffer Mapped into the RDMA (IB) Device's Address Space Steps to Map Memory Buffer into RDMA Device's Address Space Memory Allocation : The application first allocates a memory buffer that it intends to use for RDMA operations. This buffer can be used for sending, receiving, or direct memory access operations. Protection Domain Creation : A protection domain is created to define a scope within which resources like memory regions, queue pairs, and completion queues are associated. It acts as a security boundary for RDMA operations. Memory Registration : The application registers the allocated memory buffer with the RDMA hardware. This is done using the Verbs API, which provides functions to interact with RDMA devices. The registration process involves creating a memory region (MR) object, specifying the buffer's virtual address, size, and access permissions (e.g., read, write, atomic). Pinning Memory : During registrati...