Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361097
b: refs/heads/master
c: a229e48
h: refs/heads/master
i:
  361095: 59fd527
v: v3
  • Loading branch information
Amir Vadai authored and David S. Miller committed Mar 7, 2013
1 parent 64739f9 commit b0a317d
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 83a5a6cef40616d19a388f560447e99c2ca04d1e
refs/heads/master: a229e488ac3f904d06c20d8d3f47831db3c7a15a
8 changes: 5 additions & 3 deletions trunk/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1833,9 +1833,11 @@ int mlx4_en_alloc_resources(struct mlx4_en_priv *priv)
}

#ifdef CONFIG_RFS_ACCEL
priv->dev->rx_cpu_rmap = alloc_irq_cpu_rmap(priv->mdev->dev->caps.comp_pool);
if (!priv->dev->rx_cpu_rmap)
goto err;
if (priv->mdev->dev->caps.comp_pool) {
priv->dev->rx_cpu_rmap = alloc_irq_cpu_rmap(priv->mdev->dev->caps.comp_pool);
if (!priv->dev->rx_cpu_rmap)
goto err;
}
#endif

return 0;
Expand Down

0 comments on commit b0a317d

Please sign in to comment.