Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243569
b: refs/heads/master
c: c379474
h: refs/heads/master
i:
  243567: a4e8bd2
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Mar 31, 2011
1 parent 4a5246d commit 1713021
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: 53020092bd89b0d4ccc5368a3956f43cb43e5665
refs/heads/master: c37947459172a02691ccd48cb967e8b605d38c56
4 changes: 3 additions & 1 deletion trunk/drivers/net/mlx4/eq.c
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,9 @@ int mlx4_init_eq_table(struct mlx4_dev *dev)
}

for (i = 0; i < dev->caps.num_comp_vectors; ++i) {
err = mlx4_create_eq(dev, dev->caps.num_cqs + MLX4_NUM_SPARE_EQE,
err = mlx4_create_eq(dev, dev->caps.num_cqs -
dev->caps.reserved_cqs +
MLX4_NUM_SPARE_EQE,
(dev->flags & MLX4_FLAG_MSI_X) ? i : 0,
&priv->eq_table.eq[i]);
if (err) {
Expand Down

0 comments on commit 1713021

Please sign in to comment.