to_erdma_access_flags
to_erdma_access_flags(reg_wr(send_wr)->access);
mr->access = ERDMA_MR_ACC_LR | to_erdma_access_flags(acc);
mr->access = ERDMA_MR_ACC_LR | to_erdma_access_flags(access);