> From: somenath [mailto:[EMAIL PROTECTED] > > just to make sure I conveyed the exact thing I meant, if I change > the above code as follows: > > while (ib_poll_cq(cq, 1, &wc) > 0) { > process completion(); > } > rearm CQ; > > then I just get notification once, and don't get any futher > notifications...so I assume rearm CQ should be done even if > ib_poll_cq() returns zero.
Yes, if you don't rearm you would never get another completion for the CQ. However it is not yet clear why you are not finding the initial completion when your 1st callback invoked poll_cq. Todd Rimmer _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
