]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mthca: Update QP state if query QP succeeds
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 17 Apr 2008 04:09:34 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:34 +0000 (21:09 -0700)
commit5121df3ae45731ce98374a1b0b4d48f072643f42
treef0eba075bae9fde2dd37cadfe4ee96b62496732b
parent9285faa1e7c8ffcc8901c40f6e1cc06d93e92431
IB/mthca: Update QP state if query QP succeeds

If the QP was moved to another state (such as SQE) by the hardware,
then after this change the user won't have to set the IBV_QP_CUR_STATE
mask in order to execute modify QP in order to recover from this state.

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c