1IBV_RESIZE_CQ(3)        Libibverbs Programmer’s Manual        IBV_RESIZE_CQ(3)
2
3
4

NAME

6       ibv_resize_cq - resize a completion queue (CQ)
7

SYNOPSIS

9              #include <infiniband/verbs.h>
10
11              int ibv_resize_cq(struct ibv_cq *cq, int cqe);
12

DESCRIPTION

14       ibv_resize_cq()  resizes  the completion queue (CQ) cq to have at least
15       cqe entries.  cqe must be at least the number of  unpolled  entries  in
16       the  CQ  cq.   If  cqe  is a valid value less than the current CQ size,
17       ibv_resize_cq() may not do anything, since this function is only  guar‐
18       anteed  to  resize  the  CQ  to a size at least as big as the requested
19       size.
20

RETURN VALUE

22       ibv_resize_cq() returns 0 on success, or the value of errno on  failure
23       (which indicates the failure reason).
24

NOTES

26       ibv_resize_cq()  may  assign a CQ size greater than or equal to the re‐
27       quested size.  The cqe member of cq will be updated to the actual size.
28

SEE ALSO

30       ibv_create_cq(3), ibv_destroy_cq(3)
31

AUTHOR

33       Dotan Barak <dotanba@gmail.com>
34
35
36
37libibverbs                        2006-10-31                  IBV_RESIZE_CQ(3)
Impressum