[openib-general] Re: Re: [PATCH] mthca - query qp
Michael S. Tsirkin
mst at mellanox.co.il
Sun Mar 19 01:09:58 PST 2006
Quoting r. Jack Morgenstein <jackm at mellanox.co.il>:
> Subject: Re: Re: [PATCH] mthca - query qp
>
> 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.
I don't think that's the intended result of the ib_query_qp. The spec says:
Primary Address vector, for RC & UC transports only, containing:
....
. Maximum Static Rate.
--
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
More information about the general
mailing list