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

Dotan Barak dotanb at dev.mellanox.co.il
Wed Jan 23 05:19:24 PST 2008


Hi Roland.

Recently i started to test the SQE state.

During the test writing i found out that if a non RC QP has an error in 
the SQ the QP is being moved
to the SQE state (as it should) by the HCA. I knew that the QP is in SQE 
because query QP gave me
this state in the QP attributes.

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?

thanks
Dotan



More information about the general mailing list