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

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to