Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32609
b: refs/heads/master
c: 2290d2c
h: refs/heads/master
i:
  32607: 67dfe82
v: v3
  • Loading branch information
Jack Morgenstein authored and Linus Torvalds committed Jul 15, 2006
1 parent e3993d0 commit 84bcd5c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: de45921535bfc3b1f63b426c2a9739635f864283
refs/heads/master: 2290d2c9f51d7ee2f45adee79b4d9e080ca15d36
5 changes: 3 additions & 2 deletions trunk/drivers/infiniband/hw/mthca/mthca_av.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,10 @@ int mthca_ah_query(struct ib_ah *ibah, struct ib_ah_attr *attr)
memset(attr, 0, sizeof *attr);
attr->dlid = be16_to_cpu(ah->av->dlid);
attr->sl = be32_to_cpu(ah->av->sl_tclass_flowlabel) >> 28;
attr->static_rate = ah->av->msg_sr & 0x7;
attr->src_path_bits = ah->av->g_slid & 0x7F;
attr->port_num = be32_to_cpu(ah->av->port_pd) >> 24;
attr->static_rate = mthca_rate_to_ib(dev, ah->av->msg_sr & 0x7,
attr->port_num);
attr->src_path_bits = ah->av->g_slid & 0x7F;
attr->ah_flags = mthca_ah_grh_present(ah) ? IB_AH_GRH : 0;

if (attr->ah_flags) {
Expand Down

0 comments on commit 84bcd5c

Please sign in to comment.