diff options
author | Arthur Jones <arthur.jones@qlogic.com> | 2007-07-06 15:48:58 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-09 23:12:26 -0400 |
commit | 4f5973fd3bed9dbff0940ad6cc918be64a17b3e4 (patch) | |
tree | 1d5a5f1433da4138e228d9cbfddf926a7daf5d46 /drivers | |
parent | 3588423fbab1cfaf839e67378897e232a054f317 (diff) |
IB/ipath: Remove bogus RD_ATOMIC checks from modify_qp
The changeset 3859e39d ("IB/ipath: Support larger IB_QP_MAX_DEST_RD_ATOMIC
and IB_QP_MAX_QP_RD_ATOMIC") added support for larger RD_ATOMIC values,
but it failed to take out the stricter checks that were before these and
hence had no effect. This patch takes out the bogus checks....
Signed-off-by: Arthur Jones <arthur.jones@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_qp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_qp.c b/drivers/infiniband/hw/ipath/ipath_qp.c index d317b81360b2..1324b35ff1f8 100644 --- a/drivers/infiniband/hw/ipath/ipath_qp.c +++ b/drivers/infiniband/hw/ipath/ipath_qp.c | |||
@@ -516,14 +516,6 @@ int ipath_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, | |||
516 | if (attr->path_mtu > IB_MTU_2048) | 516 | if (attr->path_mtu > IB_MTU_2048) |
517 | goto inval; | 517 | goto inval; |
518 | 518 | ||
519 | if (attr_mask & IB_QP_MAX_DEST_RD_ATOMIC) | ||
520 | if (attr->max_dest_rd_atomic > 1) | ||
521 | goto inval; | ||
522 | |||
523 | if (attr_mask & IB_QP_MAX_QP_RD_ATOMIC) | ||
524 | if (attr->max_rd_atomic > 1) | ||
525 | goto inval; | ||
526 | |||
527 | if (attr_mask & IB_QP_PATH_MIG_STATE) | 519 | if (attr_mask & IB_QP_PATH_MIG_STATE) |
528 | if (attr->path_mig_state != IB_MIG_MIGRATED && | 520 | if (attr->path_mig_state != IB_MIG_MIGRATED && |
529 | attr->path_mig_state != IB_MIG_REARM) | 521 | attr->path_mig_state != IB_MIG_REARM) |