[openib-general] Re: the QP attribute have a double defenition of the QP primary port

Dotan Barak dotanb at mellanox.co.il
Mon May 8 06:37:24 PDT 2006


On Thursday 04 May 2006 19:57, Roland Dreier wrote:
> 
>     Dotan> I think that there are 2 problems with this implementation:
>     Dotan> 1) the user can use two different values for those port
>     Dotan> numbers (in mthca driver, the port number that was defined
>     Dotan> in the address vector will be used) 2) the user can define
>     Dotan> / change the QP port number in the transition INIT->RTR
>     Dotan> (which means a IB spec violation)
> 
> Probably the low-level drivers should ignore the port number in the
> primary address vector for INIT->RTR.  That would fix both problems, right?
> 
>  - R.

Yes, it will fix the both problems.
But i think that this API is confusing (for a new IB user)..

Dotan



More information about the general mailing list