[ofa-general] ibverbs help
Roland Dreier
rdreier at cisco.com
Fri Oct 24 08:40:15 PDT 2008
> My assumption is that when I call ibv_post_send or ibv_post_recv, that I
> should be able to receive notification of the completion of that call by
> spinning on ibv_poll_cq until the work completion is available.
> However, my program spins on ibv_poll_cq indefinitely. Is there an
> error in my understanding? Or an error in my program (attached).
You are correct that every send request should generate a completion
queue entry (as long as you request signaling, and your code does send
IBV_SEND_SIGNALED). Assuming that the tests like ibv_rc_pingpong work
on your system, then a bug in your code is by far the most likely
explanation.
- R.
More information about the general
mailing list