>mad.c calls ib_req_notify_cq on hotplug event in ib_mad_port_start, after QPs
>are attached to a CQ.  Since this function does not poll the CQ, if sufficient
>number of MADs arrive at the QP before ib_req_notify_cq is called, RQ might get
>empty and no completion events will ever be generated.

This is arming the CQ _before_ we post MADs to the receive queue of the QP.  I
don't think that there's a race here.

- Sean

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

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

Reply via email to