Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61416
b: refs/heads/master
c: 8fcea95
h: refs/heads/master
v: v3
  • Loading branch information
Dotan Barak authored and Roland Dreier committed Jul 18, 2007
1 parent 7d9a56c commit 85f356d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 1c27cb71aa7d86df0271caadfcc196a0518f5e33
refs/heads/master: 8fcea95a2a15444d5cc4bee174bb12233aa0a2aa
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/mlx4/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ static int to_ib_qp_access_flags(int mlx4_flags)
static void to_ib_ah_attr(struct mlx4_dev *dev, struct ib_ah_attr *ib_ah_attr,
struct mlx4_qp_path *path)
{
memset(ib_ah_attr, 0, sizeof *path);
memset(ib_ah_attr, 0, sizeof *ib_ah_attr);
ib_ah_attr->port_num = path->sched_queue & 0x40 ? 2 : 1;

if (ib_ah_attr->port_num == 0 || ib_ah_attr->port_num > dev->caps.num_ports)
Expand Down

0 comments on commit 85f356d

Please sign in to comment.