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

Libor Michalek libor at topspin.com
Tue Jan 25 15:39:10 PST 2005


On Tue, Jan 25, 2005 at 03:05:20PM -0800, Sean Hefty wrote:
> 
> 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 would suggest the first option, which best matches purpose of the API
as a set of helper functions. Also, a default of 1 sounds most reasonable
for the reason you state.


-Libor



More information about the general mailing list