[ofa-general] ibv_get_cq_event blocking forever after successful ibv_post_send...

Dotan Barak dotanb at dev.mellanox.co.il
Sun May 27 06:34:43 PDT 2007


SoBeBike wrote:
> That is what I am already doing (note the comment, "// loop to
> drain..."). I loop calling ibv_poll_cq until it is empty. I just noted
> that due to the usage model, I only see it pull one CQE and then on
> the 2nd pass through the loop the CQ is empty.
>

When you get to this scenario (for many times you don't get the CQ 
event) did you try to poll the CQ and check if there is any completion 
in it?
(maybe the problem is that this WR just didn't create any completion 
when it ended).



thanks
Dotan



More information about the general mailing list