[openib-general] Re: [PATCH] mthca - query qp

Dotan Barak dotanb at mellanox.co.il
Sun Mar 19 00:49:09 PST 2006


> > However I'm wondering whether we even have the right interface for 
> > query QP at all.  The only thing that the consumer couldn't 
> have saved 
> > off for themselves is the QP state, so maybe the right interface is 
> > just an ib_query_qp_state() function that gives back the 
> QP's current 
> > state.
> >
> 
> The static rate is another value that may be changed by the 
> HCA.  Furthermore, the HCA may set a static rate lower than 
> that requested by the caller.  The 
> only way to know the actual, operative static rate is via ib_query_qp.
> 
> Jack

The HCA changes the path_mig_state, so it is also needed.

Dotan



More information about the general mailing list