<div>Hi,</div>
<div> </div>
<div>In the example code there are things like:</div>
<div> </div>
<div>attr.max_dest_rd_atomic = 1;</div>
<div>attr.min_rnr_timer = 12;</div>
<div> </div>
<div>attr.ah_attr.is_global = 0;</div>
<div>attr.ah_attr.sl = 0;</div>
<div>attr.ah_attr.src_path_bits = 0;</div>
<div> </div>
<div>attr.timeout = 14;</div>
<div>attr.retry_cnt = 7;</div>
<div>attr.rnr_retry = 7;</div>
<div> </div>
<div>attr.max_rd_atomic = 1;</div>
<div> </div>
<div>initattr.cap.max_recv_wr = 1; /* I guess this specifies the length of recv q */</div>
<div>initattr.cap.max_send_wr = tx_depth; /* I guess this specifies the length of send q */</div>
<div> </div>
<div>initattr.cap.max_inline_data = MAX_INLINE; /* 400 */</div>
<div>attr.pkey_index = 0;</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Like TCP I guess there would be a state transition diagram for IB (QP state machine). Can someone point me to that?</div>
<div> </div>
<div>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 ?</div>
<div> </div>
<div>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"</div>
<div> </div>
<div>Regards,</div>
<div>John T</div>