1IBV_MODIFY_WQ(3)        Libibverbs Programmer's Manual        IBV_MODIFY_WQ(3)
2
3
4

NAME

6       ibv_modify_wq - Modify a Work Queue (WQ).
7

SYNOPSIS

9       #include <infiniband/verbs.h>
10
11       struct int ibv_modify_wq(struct ibv_wq *wq,
12                                    struct ibv_wq_attr *wq_attr);
13
14

DESCRIPTION

16       ibv_modify_wq()   modifys   a  WQ  wq.   The  argument  wq_attr  is  an
17       ibv_wq_attr struct, as defined in <infiniband/verbs.h>.
18
19       struct ibv_wq_attr {
20               uint32_t                attr_mask;     /* Use enum ibv_wq_attr_mask */
21               enum ibv_wq_state       wq_state;      /* Move to this state */
22               enum ibv_wq_state       curr_wq_state; /* Assume this is the current state */
23               uint32_t                flags;         /* Flags values to modify, use enum ibv_wq_flags */
24               uint32_t                flags_mask;    /* Which flags to modify, use enum ibv_wq_flags */
25       };
26
27       The function ibv_modify_wq() will modify the  WQ  based  on  the  given
28       wq_attr->attr_mask
29

RETURN VALUE

31       returns 0 on success, or the value of errno on failure (which indicates
32       the failure reason).
33

SEE ALSO

35       ibv_create_wq(3), ibv_destroy_wq(3),
36

AUTHORS

38       Yishai Hadas <yishaih@mellanox.com>
39
40
41
42libibverbs                        2016-07-27                  IBV_MODIFY_WQ(3)
Impressum