[ofa-general] cmatose fails whereas rping passes on iWarp
pandit ib
ranjit.pandit.ib at gmail.com
Mon Jul 6 20:07:19 PDT 2009
I'm still seeing the hang.
> I debugged this to see why it hangs. The problem, as I see it, is in the server side. The problem is shown in the diagram below (connection set up and tear down are omitted). Both sides post 10 receive buffers.
>
> 1. Server sends ten messages (not signaled)
> 2. Client polls recv cq and
> receives 10 messages
> 3. Client sends 10 messages
> 4. Server polls the send cq for completions
> 5. Server polls the recv cq for completions
>
> The server hangs in step 4 where it is looking for send completions but there will not be any because the signaled flag was not set in step 1.
>
> ucmatose completes when I change the following line:
> send_wr.send_flags = 0;
> to
> send_wr.send_flags = IBV_SEND_SIGNALED;
>
> Don Wood
>
>
More information about the general
mailing list