[openib-general] ibv_poll_cq after ibv_post_send does not work

Dotan Barak dotanb at dev.mellanox.co.il
Sat Sep 9 23:55:31 PDT 2006


Bub Thomas wrote:
> Dortan Barak wrote:
> If you are using RC QP:
> the reason for not getting any completion in the CQ is that
>
> Did you post any RR (Receive Request) at the listener side?
>
>
> Dotan,
> with the cmpost.c example I now get a cm connection even with another
> machine.
> However I don't get the cq event, on the sender side, when the
> IBV_WR_SEND is done. Is this correct? Is this what you are saying below?
> If it is correct this is different from gen1 drivers where I got a
> VAPI_SUCCESS cq event. Is there a way to get this back?
>
> On the receiver side I get an cq event for the receive request.
>
> Thanks
> Thomas
>
>
>   

What do you mean that you don't get the cq event?

i assume that you are talking about the completions:

    in the receiver side there is always a completion.

    in the sender side there there may be a completion (depend on the QP 
/ WR configuration):
    if you want to have a completion you other need to set the 
sq_sig_all in the QP creation (if you want that completions will be 
created for all of the
    post sends in this QP) or you need to set the IBV_SEND_SIGNALED in 
the send_flags in the WR that you are posting.

Dotan




More information about the general mailing list