[openib-general] QP timeout

Sean Hefty mshefty at ichips.intel.com
Thu Feb 9 09:58:29 PST 2006


Or Gerlitz wrote:
> Can you see if/what is there a way for a CMA consumer to set the QP 
> timeout? Reading the .h files and the ib_cm/cma code the best i managed 
> to find is the following setting in cm_init_qp_rts_attr
> 
> 	qp_attr->timeout = cm_id_priv->local_ack_timeout;

Local ACK timeout is set based on the packet life time set in the path record. 
Nothing prevents a CMA consumer from changing this value after route resolution 
completes, but doing so requires knowing the the resolved route is actually a 
path record.  The path record is exposed to the consumer through the API.

> is cm_id_priv->local_ack_timeout related to 
> 
> 	req.remote_cm_response_timeout = CMA_CM_RESPONSE_TIMEOUT;
> 	req.local_cm_response_timeout = CMA_CM_RESPONSE_TIMEOUT;

These values are IB CM specific values, and are only used to determine how long 
to wait between retries of IB CM messages.

- Sean




More information about the general mailing list