summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.com>2013-09-11 16:35:31 +0300
committerRoland Dreier <roland@purestorage.com>2013-10-10 09:23:58 -0700
commit75959f56feefe7649f57f83166efecdd6bebe0ec (patch)
tree5649ddb131bc8216a8838f36d5acf90e2a1c6d2d /drivers/infiniband/hw
parent81bea28ffdaad0bd3bf745ec399edb0387f4799d (diff)
downloadblackbird-op-linux-75959f56feefe7649f57f83166efecdd6bebe0ec.tar.gz
blackbird-op-linux-75959f56feefe7649f57f83166efecdd6bebe0ec.zip
mlx5: Fix opt param mask for sq err to rts transition
Add missing entry in the table for UC transport. Signed-off-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/mlx5/qp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
index 10b077db42e8..546d3e993207 100644
--- a/drivers/infiniband/hw/mlx5/qp.c
+++ b/drivers/infiniband/hw/mlx5/qp.c
@@ -1324,6 +1324,7 @@ static enum mlx5_qp_optpar opt_mask[MLX5_QP_NUM_STATE][MLX5_QP_NUM_STATE][MLX5_Q
[MLX5_QP_STATE_RTS] = {
[MLX5_QP_ST_UD] = MLX5_QP_OPTPAR_Q_KEY,
[MLX5_QP_ST_MLX] = MLX5_QP_OPTPAR_Q_KEY,
+ [MLX5_QP_ST_UC] = MLX5_QP_OPTPAR_RWE,
},
},
};
OpenPOWER on IntegriCloud