aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4')
-rw-r--r--drivers/net/mlx4/en_rx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c
index c61b0bdca1a4..a4130e764991 100644
--- a/drivers/net/mlx4/en_rx.c
+++ b/drivers/net/mlx4/en_rx.c
@@ -768,6 +768,7 @@ int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int bud
768 768
769 skb->ip_summed = ip_summed; 769 skb->ip_summed = ip_summed;
770 skb->protocol = eth_type_trans(skb, dev); 770 skb->protocol = eth_type_trans(skb, dev);
771 skb_record_rx_queue(skb, cq->ring);
771 772
772 /* Push it up the stack */ 773 /* Push it up the stack */
773 if (priv->vlgrp && (be32_to_cpu(cqe->vlan_my_qpn) & 774 if (priv->vlgrp && (be32_to_cpu(cqe->vlan_my_qpn) &
@@ -814,7 +815,7 @@ void mlx4_en_rx_irq(struct mlx4_cq *mcq)
814 struct mlx4_en_priv *priv = netdev_priv(cq->dev); 815 struct mlx4_en_priv *priv = netdev_priv(cq->dev);
815 816
816 if (priv->port_up) 817 if (priv->port_up)
817 netif_rx_schedule(&cq->napi); 818 napi_schedule(&cq->napi);
818 else 819 else
819 mlx4_en_arm_cq(priv, cq); 820 mlx4_en_arm_cq(priv, cq);
820} 821}
@@ -834,7 +835,7 @@ int mlx4_en_poll_rx_cq(struct napi_struct *napi, int budget)
834 INC_PERF_COUNTER(priv->pstats.napi_quota); 835 INC_PERF_COUNTER(priv->pstats.napi_quota);
835 else { 836 else {
836 /* Done for now */ 837 /* Done for now */
837 netif_rx_complete(napi); 838 napi_complete(napi);
838 mlx4_en_arm_cq(priv, cq); 839 mlx4_en_arm_cq(priv, cq);
839 } 840 }
840 return done; 841 return done;