[ofw] WinVerbs CQ events
prasanna
prasanna.vv at oracle.com
Wed Mar 24 04:36:28 PDT 2010
Hi All,
I observe a problem getting CQ events in WinVerbs 2.2 for the following
sequence:
1. Client does a ibv_post_send() operation with a list of 2 WRs (The
'next' field of first struct ibv_send_wr points to the second WR)
2. Receive program calls ibv_post_recv() twice each with a single WR.
In the above sequence, I see data from both WRs is transferred correctly
from the client to the receiver.
But the issue is, CQ event in the receiver is generated only once. Also,
in the receiver CQ event handler,
ibv_poll_cq(cq, 2, &wc[0]) returns 1.
I expect either 2 CQ events in the receive side or ibv_poll_cq(..)
should return 2 WCs.
I tried both solicited & non-solicited CQ notification in the recevier
side. Also, the CQE is sufficiently large.
Please let me know if you have clue to generate CQ event in the receiver
in this sequence.
Thanks,
Prasanna
More information about the ofw
mailing list