[openib-general] bug report: mad.c: ib_req_notify_cq called without polling cq

Michael S. Tsirkin mst at mellanox.co.il
Sun Jun 11 10:42:41 PDT 2006


Hello, Sean!

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.

Please comment.

-- 
MST




More information about the general mailing list