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
27       requested size.  The cqe member of cq will be  updated  to  the  actual
28       size.
29

SEE ALSO

31       ibv_create_cq(3) ibv_destroy_cq(3)
32

AUTHORS

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