3 .TH IBV_RESIZE_CQ 3 2006-10-31 libibverbs "Libibverbs Programmer's Manual"
5 ibv_resize_cq \- resize a completion queue (CQ)
8 .B #include <infiniband/verbs.h>
10 .BI "int ibv_resize_cq(struct ibv_cq " "*cq" ", int " "cqe" ");
14 resizes the completion queue (CQ)
20 must be at least the number of unpolled entries in the CQ
24 is a valid value less than the current CQ size,
26 may not do anything, since this function is only guaranteed to resize
27 the CQ to a size at least as big as the requested size.
30 returns 0 on success, or the value of errno on failure (which indicates the failure reason).
33 may assign a CQ size greater than or equal to the requested size.
36 will be updated to the actual size.
39 .BR ibv_destroy_cq (3)
42 Dotan Barak <dotanb@mellanox.co.il>