]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mlx4: 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)
commit0df67030958bad07c3f82f392e3ffb785c56e48d
tree317bdffc336a40e344f50b05492de6350eb38f7a
parent5121df3ae45731ce98374a1b0b4d48f072643f42
IB/mlx4: 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/mlx4/qp.c