[ofa-general] ibverbs help
Roman Kononov
ofed at kononov.ftml.net
Fri Oct 24 12:43:25 PDT 2008
On 2008-10-24 09:00, Kelly Burkhart wrote:
> However, my program spins on ibv_poll_cq indefinitely. Is there an
Your difficulty is because doServer() makes two QP:
in "Channel *ch( new Channel );"
in "Channel *cch = ch->accept();".
Then the server passes the first QP's QPN to the client.
Then the server "connects" the second QP with the client's QP.
Then the server tries to receive from the second QP.
I would recommend you to avoid creating another Channel in Channel::accept()
(and close peerSock and sock_).
Regards,
Roman
More information about the general
mailing list