The API to create MR, i.e. alloc_local_mr(layout) function, only has the option to allocate new memory in an ad-hoc way (use malloc inside the alloc_local_mr function).
Is it possible that I register an existing memory block as MR. As I want to transfer a large block of memory and don't want it to be copied which may cause performance issue. Many thanks in advance!