]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/mthca: fix for RTR-to-RTS transition in modify QP
authorJack Morgenstein <jackm@mellanox.co.il>
Fri, 6 Jan 2006 21:03:43 +0000 (13:03 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 6 Jan 2006 21:03:43 +0000 (13:03 -0800)
PKEY_INDEX is not a legal parameter in the RTR->RTS transition.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c

index 623f5144eae2b959c375a4708034934cf5ca8c3b..ff2def3e9dd10f4becdde39c101467a27a7c448e 100644 (file)
@@ -383,12 +383,10 @@ static const struct {
                                [UC]  = (IB_QP_CUR_STATE             |
                                         IB_QP_ALT_PATH              |
                                         IB_QP_ACCESS_FLAGS          |
-                                        IB_QP_PKEY_INDEX            |
                                         IB_QP_PATH_MIG_STATE),
                                [RC]  = (IB_QP_CUR_STATE             |
                                         IB_QP_ALT_PATH              |
                                         IB_QP_ACCESS_FLAGS          |
-                                        IB_QP_PKEY_INDEX            |
                                         IB_QP_MIN_RNR_TIMER         |
                                         IB_QP_PATH_MIG_STATE),
                                [MLX] = (IB_QP_CUR_STATE             |