Hi Eli, > > t = min(IPOIB_NUM_WC, max); > n = ib_poll_cq(priv->cq, t, priv->ibwc); > + if (unlikely(n < 1)) > + break; > > for (i = 0; i < n; i++) { > struct ib_wc *wc = priv->ibwc + i; The 'for' loop (followed by the "if (n != t) break" check) should take care of this, isn't it? Thanks, - KK