>Really it looks as if this check should be predicated on the actual QP
>state which we don't seem to have at this time.  The CM state also doesn't
>seem to be useful as it is already ESTABLISHED in this case.
>
>Any suggestions?

Given the current code, you could transition to RTS before sending the REP,
rather than waiting until you receive the RTU.  As long as you don't actually
send until the RTU arrives, it should be fine.  Alternatively, you can
initialize the QP attribute structure without calling the CM helper functions.

- Sean

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to