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

Jack Morgenstein jackm at mellanox.co.il
Sun Mar 19 00:42:55 PST 2006


On Friday 17 March 2006 00:38, Roland Dreier wrote:
>
> 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



More information about the general mailing list