1RDMA_INIT_QP_ATTR(3)     Librdmacm Programmer’s Manual    RDMA_INIT_QP_ATTR(3)
2
3
4

NAME

6       rdma_init_qp_attr - Returns qp attributes of an rdma_cm_id.
7

SYNOPSIS

9              #include <rdma/rdma_cma.h>
10
11              int rdma_init_qp_attr(struct rdma_cm_id *id,
12                             struct ibv_qp_attr *qp_attr,
13                             int *qp_attr_mask);
14

DESCRIPTION

16       rdma_init_qp_attr() returns qp attributes of an rdma_cm_id.
17
18       Information  about  qp  attributes  and  qp attributes mask is returned
19       through the qp_attr and qp_attr_mask parameters.
20
21       For details on the qp_attr structure, see ibv_modify_qp.
22

ARGUMENTS

24       id     RDMA identifier.
25
26       qp_attr
27              A reference to a qp attributes struct containing response infor‐
28              mation.
29
30       qp_attr_mask
31              A reference to a qp attributes mask containing response informa‐
32              tion.
33

RETURN VALUE

35       rdma_init_qp_attr() returns 0 on success, or -1 on error.  If an  error
36       occurs, errno will be set to indicate the failure reason.
37

SEE ALSO

39       rdma_cm(7), ibv_modify_qp(3)
40

AUTHOR

42       Danit Goldberg <danitg@mellanox.com>
43
44
45
46librdmacm                         2018-12-31              RDMA_INIT_QP_ATTR(3)
Impressum