aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_netdev.c
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2009-08-06 22:28:18 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-06 22:28:18 -0400
commit9f519f68cfffba022978634f724944a0b971fec1 (patch)
treedec840b3dfd1bd3173c12686e85a62466a82202b /drivers/net/mlx4/en_netdev.c
parentb6b912e0804dc1b3e856da3cc82fbe78b50e968c (diff)
mlx4_en: Not using Shared Receive Queues
We use 1:1 mapping between QPs and SRQs on receive side, so additional indirection level not required. Allocated the receive buffers for the RSS QPs. Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_netdev.c')
-rw-r--r--drivers/net/mlx4/en_netdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_netdev.c b/drivers/net/mlx4/en_netdev.c
index f8bbc5a39e15..c48b0f4b17b7 100644
--- a/drivers/net/mlx4/en_netdev.c
+++ b/drivers/net/mlx4/en_netdev.c
@@ -622,8 +622,7 @@ int mlx4_en_start_port(struct net_device *dev)
622 622
623 /* Configure ring */ 623 /* Configure ring */
624 tx_ring = &priv->tx_ring[i]; 624 tx_ring = &priv->tx_ring[i];
625 err = mlx4_en_activate_tx_ring(priv, tx_ring, cq->mcq.cqn, 625 err = mlx4_en_activate_tx_ring(priv, tx_ring, cq->mcq.cqn);
626 priv->rx_ring[0].srq.srqn);
627 if (err) { 626 if (err) {
628 en_err(priv, "Failed allocating Tx ring\n"); 627 en_err(priv, "Failed allocating Tx ring\n");
629 mlx4_en_deactivate_cq(priv, cq); 628 mlx4_en_deactivate_cq(priv, cq);