[ofa-general] Re: modify QP from SQE -> RTS (after query QP) fails without IBV_QP_CUR_STATE

Dotan Barak dotanb at dev.mellanox.co.il
Thu Jan 24 06:53:40 PST 2008


Roland Dreier wrote:
>  > When i tried to recover the QP and modify it's state to RTS i had to
>  > use the flag IBV_QP_CUR_STATE
>  > because the internal QP structure assumed that the QP state is RTS
>  > (although query QP noticed otherwise).
>  > 
>  > I created and tested 2 patches for both mthca and mlx4 drivers to
>  > update the internal QP state when a
>  > successful query QP was executed.
>  > 
>  > Will you accept those patches?
>
> Sounds fine, although I think we need to take a little care about how
> we update the QP state (locking) now that there are two ways to do
> it.  And obviiously it's hard to make a definitiev statement about
> patches I've never seen...
>
>   
I just wanted to know how do you fill about his patch (and if it is a 
useful code change).
I didn't find time to do it today, i guess I'll send you the patches on 
Sunday.

thanks
Dotan




More information about the general mailing list