[ofa-general] Requesting CQ notifications

Mike Heffner mike.heffner at evergrid.com
Wed Apr 25 15:19:35 PDT 2007


Is there a differentiation between multiple CQE's being in the CQ vs. 
CQE's being arriving into the CQ when using completion notifications?

For example, assume I have the following order of events:


	2 CQEs arrive

	select() returns readable for comp. channel

	ibv_get_cq_event() returns event

	ibv_req_notify_cq(cq, 0)

	ibv_poll_cq(cq, 1, &cqe) returns 1

	ibv_ack_cq_events(cq, 1)


Will the comp. channel receive another event for the second CQE even if 
it had arrived before ibv_req_notify_cq() was called?


Mike

-- 

   Mike Heffner <mike.heffner at evergrid.com>
   EverGrid Software
   Blacksburg, VA USA

   Voice: (540) 443-3500 x603



More information about the general mailing list