Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105643
b: refs/heads/master
c: 593e4d4
h: refs/heads/master
i:
  105641: 7f8a32e
  105639: 71ee7ea
v: v3
  • Loading branch information
Joachim Fenkes authored and Roland Dreier committed Jul 22, 2008
1 parent fba99c9 commit 6328f5c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 5b673b71c8ca0fbdb99dc1b1434cfb554212d6ff
refs/heads/master: 593e4d4a05c8263a6dbd5452c21d47c5bdadd40c
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/hw/ehca/ehca_hca.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ int ehca_query_device(struct ib_device *ibdev, struct ib_device_attr *props)
}

props->max_pkeys = 16;
props->local_ca_ack_delay = min_t(u8, rblock->local_ca_ack_delay, 255);
/* Some FW versions say 0 here; insert sensible value in that case */
props->local_ca_ack_delay = rblock->local_ca_ack_delay ?
min_t(u8, rblock->local_ca_ack_delay, 255) : 12;
props->max_raw_ipv6_qp = limit_uint(rblock->max_raw_ipv6_qp);
props->max_raw_ethy_qp = limit_uint(rblock->max_raw_ethy_qp);
props->max_mcast_grp = limit_uint(rblock->max_mcast_grp);
Expand Down

0 comments on commit 6328f5c

Please sign in to comment.