[openib-general] Ib question

Dotan Barak dotanb at dev.mellanox.co.il
Tue Aug 29 05:20:46 PDT 2006


resending the response (after a problem in my mail client):
> john t wrote:
>>  
>> What is the meaning of above fields or where can I find the 
>> definition of above fields ? Can I change the value of fields like 
>> "timeout" or should it be always set to a fixed value.
> You can find the description and encoding of those values in the IB spec.
>>  
>> Like TCP I guess there would be a state transition diagram for IB (QP 
>> state machine). Can someone point me to that?
> IB spec sections 10.3.1 and 11.2.4.2
>>  
>> In my application, I get an error message "IBV_WC_WR_FLUSH_ERR" and 
>> sometimes "IBV_WC_RETRY_EXC_ERR"  while polling a CQ after posting 
>> some write commands. What could be the reason for that ?
> IBV_WC_WR_FLUSH_ERR means that the completion was created when the QP 
> was already in error
> IBV_WC_RETRY_EXC_ERR means that the remote side didn't respond to the 
> messages that were sent (there may be several reasons for it:
> the remote QP is not exist at all, or it is configured with wrong 
> parameters).
>
> i guess that you have a race in your code (and some more issues after 
> you'll deal with the race ..)
>>  
>> Also, can someone point me to a document where I can find the meaning 
>> of different error status values (enum ibv_wc_status) returned by 
>> "ibv_poll_cq"
> IB spec section 11.6.2


Dotan




More information about the general mailing list