IB_CQ_POLL_MAX
struct ib_wc ib_wc[IB_CQ_POLL_MAX];
n = ib_poll_cq(cq, IB_CQ_POLL_MAX, ib_wc);
if (n != IB_CQ_POLL_MAX) {