[openib-general] [PATCH] [RFC] new CM API to format QP attributes

Fab Tillier ftillier at infiniconsys.com
Tue Jan 25 15:21:58 PST 2005


> From: Sean Hefty [mailto:mshefty at ichips.intel.com]
> Sent: Tuesday, January 25, 2005 3:05 PM
> 
> With respect to the QP attributes being set, the CM is missing the
> minimum RNR NAK timer field, which is needed to transition the QP to
> RTR, but not needed by the CM.  A few options:
> 
> * Let the CM set the value to a default, such as 1.  I'm leaning
> towards a low value here, because I'm questioning the usefulness of RNR
> NAK.
> 
> * Extend the CM API to let the user specify the value.  The CM would
> only use this value to return it in the qp_attr if this call were made.
>   This makes it explicit to the user that they need to provide a value.
> 
> * Do nothing and make the user set the value in the qp_attr after
> calling the above function, but before calling ib_modify_qp.
> 
> I'm leaning towards the first option at this point.

I'm for the first and third options - the CM sets a reasonable default and
users can still override it if they care.

- Fab 




More information about the general mailing list