Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213937
b: refs/heads/master
c: 00d7d7b
h: refs/heads/master
i:
  213935: 38611b9
v: v3
  • Loading branch information
Yevgeny Petrilin authored and David S. Miller committed Aug 24, 2010
1 parent 8d19274 commit b25833b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 69351a2933428515b31fe54100f90a669cbbd384
refs/heads/master: 00d7d7bc6e886ef48af6ed766eb12b8cec241d35
4 changes: 2 additions & 2 deletions trunk/drivers/net/mlx4/en_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ static int mlx4_en_fill_rx_buffers(struct mlx4_en_priv *priv)
ring->prod--;
mlx4_en_free_rx_desc(priv, ring, ring->actual_size);
}
ring->size_mask = ring->actual_size - 1;
}

return 0;
Expand Down Expand Up @@ -389,6 +388,7 @@ int mlx4_en_activate_rx_rings(struct mlx4_en_priv *priv)
for (ring_ind = 0; ring_ind < priv->rx_ring_num; ring_ind++) {
ring = &priv->rx_ring[ring_ind];

ring->size_mask = ring->actual_size - 1;
mlx4_en_update_rx_prod_db(ring);
}

Expand Down Expand Up @@ -816,7 +816,7 @@ static int mlx4_en_config_rss_qp(struct mlx4_en_priv *priv, int qpn,
qp->event = mlx4_en_sqp_event;

memset(context, 0, sizeof *context);
mlx4_en_fill_qp_context(priv, ring->size, ring->stride, 0, 0,
mlx4_en_fill_qp_context(priv, ring->actual_size, ring->stride, 0, 0,
qpn, ring->cqn, context);
context->db_rec_addr = cpu_to_be64(ring->wqres.db.dma);

Expand Down

0 comments on commit b25833b

Please sign in to comment.