Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67097
b: refs/heads/master
c: d7dc3cc
h: refs/heads/master
i:
  67095: 695496a
v: v3
  • Loading branch information
Roland Dreier committed Oct 10, 2007
1 parent 600ec66 commit 6cc5009
Show file tree
Hide file tree
Showing 3 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: ca6de177acef8f2c7c3901ea583a263364ca7bbb
refs/heads/master: d7dc3ccbe4dd1d37950da0138079e61d5be06ca9
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/mlx4/srq.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ int mlx4_ib_query_srq(struct ib_srq *ibsrq, struct ib_srq_attr *srq_attr)
if (ret)
return ret;

srq_attr->srq_limit = be16_to_cpu(limit_watermark);
srq_attr->srq_limit = limit_watermark;
srq_attr->max_wr = srq->msrq.max - 1;
srq_attr->max_sge = srq->msrq.max_gs;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/mlx4/srq.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ int mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_waterm
err = mlx4_QUERY_SRQ(dev, mailbox, srq->srqn);
if (err)
goto err_out;
*limit_watermark = srq_context->limit_watermark;
*limit_watermark = be16_to_cpu(srq_context->limit_watermark);

err_out:
mlx4_free_cmd_mailbox(dev, mailbox);
Expand Down

0 comments on commit 6cc5009

Please sign in to comment.