Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101053
b: refs/heads/master
c: aed0122
h: refs/heads/master
i:
  101051: b4ab9e0
v: v3
  • Loading branch information
Roland Dreier committed Jul 15, 2008
1 parent 43eb383 commit 0a07001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c036925ac0e940a4e8525b08e89d2c64fe282c51
refs/heads/master: aed012279d35e88e29fd55737d8821604433f50a
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/hw/mthca/mthca_qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1249,10 +1249,10 @@ static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap,
return -EINVAL;

/*
* For MLX transport we need 2 extra S/G entries:
* For MLX transport we need 2 extra send gather entries:
* one for the header and one for the checksum at the end
*/
if (qp->transport == MLX && cap->max_recv_sge + 2 > dev->limits.max_sg)
if (qp->transport == MLX && cap->max_send_sge + 2 > dev->limits.max_sg)
return -EINVAL;

if (mthca_is_memfree(dev)) {
Expand Down

0 comments on commit 0a07001

Please sign in to comment.