diff options
Diffstat (limited to 'drivers/net/mlx4/en_rx.c')
-rw-r--r-- | drivers/net/mlx4/en_rx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c index c61b0bdca1a4..ac55ebd2f146 100644 --- a/drivers/net/mlx4/en_rx.c +++ b/drivers/net/mlx4/en_rx.c | |||
@@ -814,7 +814,7 @@ void mlx4_en_rx_irq(struct mlx4_cq *mcq) | |||
814 | struct mlx4_en_priv *priv = netdev_priv(cq->dev); | 814 | struct mlx4_en_priv *priv = netdev_priv(cq->dev); |
815 | 815 | ||
816 | if (priv->port_up) | 816 | if (priv->port_up) |
817 | netif_rx_schedule(&cq->napi); | 817 | napi_schedule(&cq->napi); |
818 | else | 818 | else |
819 | mlx4_en_arm_cq(priv, cq); | 819 | mlx4_en_arm_cq(priv, cq); |
820 | } | 820 | } |
@@ -834,7 +834,7 @@ int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget) | |||
834 | INC_PERF_COUNTER(priv->pstats.napi_quota); | 834 | INC_PERF_COUNTER(priv->pstats.napi_quota); |
835 | else { | 835 | else { |
836 | /* Done for now */ | 836 | /* Done for now */ |
837 | netif_rx_complete(napi); | 837 | napi_complete(napi); |
838 | mlx4_en_arm_cq(priv, cq); | 838 | mlx4_en_arm_cq(priv, cq); |
839 | } | 839 | } |
840 | return done; | 840 | return done; |