Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8511
b: refs/heads/master
c: b5dcbf4
h: refs/heads/master
i:
  8509: 1947185
  8507: a3917b2
  8503: 64f02f4
  8495: e98bc76
  8479: 683e218
  8447: f1e3c5b
v: v3
  • Loading branch information
Hal Rosenstock authored and Roland Dreier committed Sep 7, 2005
1 parent b630ed2 commit d2fe88e
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: 30a7e8ef13b2ff0db7b15af9afdd12b93783f01e
refs/heads/master: b5dcbf47e10e568273213a4410daa27c11cdba3a
4 changes: 3 additions & 1 deletion trunk/drivers/infiniband/core/mad_rmpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ static int send_next_seg(struct ib_mad_send_wr_private *mad_send_wr)
rmpp_mad->rmpp_hdr.paylen_newwin =
cpu_to_be32(mad_send_wr->total_seg *
(sizeof(struct ib_rmpp_mad) -
offsetof(struct ib_rmpp_mad, data)));
offsetof(struct ib_rmpp_mad, data)) -
mad_send_wr->pad);
mad_send_wr->sg_list[0].length = sizeof(struct ib_rmpp_mad);
} else {
mad_send_wr->send_wr.num_sge = 2;
Expand All @@ -602,6 +603,7 @@ static int send_next_seg(struct ib_mad_send_wr_private *mad_send_wr)
mad_send_wr->sg_list[1].length = sizeof(struct ib_rmpp_mad) -
mad_send_wr->data_offset;
mad_send_wr->sg_list[1].lkey = mad_send_wr->sg_list[0].lkey;
rmpp_mad->rmpp_hdr.paylen_newwin = 0;
}

if (mad_send_wr->seg_num == mad_send_wr->total_seg) {
Expand Down

0 comments on commit d2fe88e

Please sign in to comment.