| Main index | Section 3 | Options |
#include <infiniband/verbs.h>struct ibv_mr *ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length, int access);
int ibv_dereg_mr(struct ibv_mr *mr);
|
IBV_ACCESS_LOCAL_WRITE Enable Local Write Access | |
|
IBV_ACCESS_REMOTE_WRITE Enable Remote Write Access | |
|
IBV_ACCESS_REMOTE_READ Enable Remote Read Access | |
|
IBV_ACCESS_REMOTE_ATOMIC Enable Remote Atomic Operation Access (if supported) | |
|
IBV_ACCESS_MW_BIND Enable Memory Window Binding | |
| IBV_ACCESS_ON_DEMAND Create an on-demand paging MR | |
Local read access is always enabled for the MR.
ibv_dereg_mr() deregisters the MR mr.
ibv_dereg_mr() returns 0 on success, or the value of errno on failure (which indicates the failure reason).
| 2006-10-31 | IBV_REG_MR (3) | libibverbs |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed. | ” |
| — The Unix Haters' handbook | ||