Main index | Section 3 | Options |
#include <infiniband/verbs.h>int ibv_rereg_mr(struct ibv_mr *mr, int flags, struct ibv_pd * pd, void *addr, size_t length, int access);
flags is a bit-mask used to indicate which of the following properties of the memory region are being modified. Flags should be a combination (bit field) of:
IBV_REREG_MR_CHANGE_TRANSLATION Change translation (location and length) | |
IBV_REREG_MR_CHANGE_PD Change protection domain | |
IBV_REREG_MR_CHANGE_ACCESS Change access flags | |
When
IBV_REREG_MR_CHANGE_PD is used,
pd represents the new PD this MR should be registered to.
When IBV_REREG_MR_CHANGE_TRANSLATION is used, addr. represents the virtual address (user-space pointer) of the new MR, while length represents its length. | |
The access and other flags are represented in the field access. This field describes the desired memory protection attributes; it is either 0 or the bitwise OR of one or more of ibv_access_flags. | |
NOTES
SEE ALSO
AUTHORS
Matan Barak <matanb@mellanox.com>
2016-03-13 | IBV_REREG_MR (3) | libibverbs |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | With features like these, who needs bugs? | ” |
— Henry Spencer |