Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57898
b: refs/heads/master
c: 54e95f8
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Jun 18, 2007
1 parent 4b25f13 commit 0333dec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0e6e74162164d908edf7889ac66dca09e7505745
refs/heads/master: 54e95f8dcbd7d86f79b423e8d11053ec9a2d9946
7 changes: 2 additions & 5 deletions trunk/drivers/infiniband/hw/mlx4/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap,

cap->max_send_wr = qp->sq.max_post = qp->sq.wqe_cnt - qp->sq_spare_wqes;
cap->max_send_sge = qp->sq.max_gs;
cap->max_inline_data = (1 << qp->sq.wqe_shift) - send_wqe_overhead(type) -
sizeof (struct mlx4_wqe_inline_seg);
/* We don't support inline sends for kernel QPs (yet) */
cap->max_inline_data = 0;

return 0;
}
Expand Down Expand Up @@ -390,9 +390,6 @@ static int create_qp_common(struct mlx4_ib_dev *dev, struct ib_pd *pd,
err = -ENOMEM;
goto err_wrid;
}

/* We don't support inline sends for kernel QPs (yet) */
init_attr->cap.max_inline_data = 0;
}

err = mlx4_qp_alloc(dev->dev, sqpn, &qp->mqp);
Expand Down

0 comments on commit 0333dec

Please sign in to comment.