Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358875
b: refs/heads/master
c: aee38fa
h: refs/heads/master
i:
  358873: 94bec7f
  358871: 1411821
v: v3
  • Loading branch information
Shani Michaeli authored and Roland Dreier committed Feb 21, 2013
1 parent 7704f43 commit 68480db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 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: 6950a235b86cf4e73d2b8e5476e7d0eb8f61af63
refs/heads/master: aee38fadd25989c3e6d99fc08752e2d87601ffc1
6 changes: 2 additions & 4 deletions trunk/drivers/infiniband/hw/mlx4/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1983,10 +1983,8 @@ static void set_fmr_seg(struct mlx4_wqe_fmr_seg *fseg, struct ib_send_wr *wr)

static void set_local_inv_seg(struct mlx4_wqe_local_inval_seg *iseg, u32 rkey)
{
iseg->flags = 0;
iseg->mem_key = cpu_to_be32(rkey);
iseg->guest_id = 0;
iseg->pa = 0;
memset(iseg, 0, sizeof(*iseg));
iseg->mem_key = cpu_to_be32(rkey);
}

static __always_inline void set_raddr_seg(struct mlx4_wqe_raddr_seg *rseg,
Expand Down
8 changes: 3 additions & 5 deletions trunk/include/linux/mlx4/qp.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,10 @@ struct mlx4_wqe_fmr_ext_seg {
};

struct mlx4_wqe_local_inval_seg {
__be32 flags;
u32 reserved1;
u64 reserved1;
__be32 mem_key;
u32 reserved2[2];
__be32 guest_id;
__be64 pa;
u32 reserved2;
u64 reserved3[2];
};

struct mlx4_wqe_raddr_seg {
Expand Down

0 comments on commit 68480db

Please sign in to comment.