1RDMA_DEREG_MR(3)         Librdmacm Programmer's Manual        RDMA_DEREG_MR(3)
2
3
4

NAME

6       rdma_dereg_mr - deregisters a registered memory region.
7

SYNOPSIS

9       #include <rdma/rdma_verbs.h>
10
11       int rdma_dereg_mr (struct ibv_mr *mr);
12

ARGUMENTS

14       mr          A reference to a registered memory buffer.
15

DESCRIPTION

17       Deregisters  a  memory buffer that had been registered for RDMA or mes‐
18       sage operations.  A user should call rdma_dereg_mr for  all  registered
19       memory associated with an rdma_cm_id before destroying the rdma_cm_id.
20

RETURN VALUE

22       Returns  0  on success, or -1 on error.  If an error occurs, errno will
23       be set to indicate the failure reason.
24

NOTES

26       All memory registered with an rdma_cm_id is associated with the protec‐
27       tion  domain  associated with the id.  Users must deregister all regis‐
28       tered memory before the protection domain can be destroyed.
29

SEE ALSO

31       rdma_cm(7), rdma_create_id(3),  rdma_create_ep(3),  rdma_destroy_id(3),
32       rdma_destroy_ep(3),         rdma_reg_msgs(3),         rdma_reg_read(3),
33       rdma_reg_write(3), ibv_reg_mr(3), ibv_dereg_mr(3)
34
35
36
37librdmacm                         2010-07-19                  RDMA_DEREG_MR(3)
Impressum