Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198430
b: refs/heads/master
c: c0dc72b
h: refs/heads/master
v: v3
  • Loading branch information
Sebastien Dugue authored and Roland Dreier committed May 20, 2010
1 parent 10c5b1d commit 56c214a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: 1693395511a2840f67dd3184212a072ac7f07524
refs/heads/master: c0dc72bad9cf21071f5e4005de46f7c8b67a138a
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/core/mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ MODULE_DESCRIPTION("kernel IB MAD API");
MODULE_AUTHOR("Hal Rosenstock");
MODULE_AUTHOR("Sean Hefty");

static int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
static int mad_recvq_size = IB_MAD_QP_RECV_SIZE;
int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
int mad_recvq_size = IB_MAD_QP_RECV_SIZE;

module_param_named(send_queue_size, mad_sendq_size, int, 0444);
MODULE_PARM_DESC(send_queue_size, "Size of send queue in number of work requests");
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/net/mlx4/icm.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,10 @@ struct mlx4_icm *mlx4_alloc_icm(struct mlx4_dev *dev, int npages,

if (chunk->nsg <= 0)
goto fail;
}

if (chunk->npages == MLX4_ICM_CHUNK_LEN)
chunk = NULL;
}

npages -= 1 << cur_order;
} else {
Expand Down

0 comments on commit 56c214a

Please sign in to comment.