aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ehea/ehea_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ehea/ehea_main.c')
-rw-r--r--drivers/net/ehea/ehea_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index dfe92264e825..8dc2047da5c0 100644
--- a/drivers/net/ehea/ehea_main.c
+++ b/drivers/net/ehea/ehea_main.c
@@ -830,7 +830,7 @@ static int ehea_poll(struct napi_struct *napi, int budget)
830 while ((rx != budget) || force_irq) { 830 while ((rx != budget) || force_irq) {
831 pr->poll_counter = 0; 831 pr->poll_counter = 0;
832 force_irq = 0; 832 force_irq = 0;
833 netif_rx_complete(napi); 833 napi_complete(napi);
834 ehea_reset_cq_ep(pr->recv_cq); 834 ehea_reset_cq_ep(pr->recv_cq);
835 ehea_reset_cq_ep(pr->send_cq); 835 ehea_reset_cq_ep(pr->send_cq);
836 ehea_reset_cq_n1(pr->recv_cq); 836 ehea_reset_cq_n1(pr->recv_cq);
@@ -841,7 +841,7 @@ static int ehea_poll(struct napi_struct *napi, int budget)
841 if (!cqe && !cqe_skb) 841 if (!cqe && !cqe_skb)
842 return rx; 842 return rx;
843 843
844 if (!netif_rx_reschedule(napi)) 844 if (!napi_reschedule(napi))
845 return rx; 845 return rx;
846 846
847 cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES); 847 cqe_skb = ehea_proc_cqes(pr, EHEA_POLL_MAX_CQES);
@@ -859,7 +859,7 @@ static void ehea_netpoll(struct net_device *dev)
859 int i; 859 int i;
860 860
861 for (i = 0; i < port->num_def_qps; i++) 861 for (i = 0; i < port->num_def_qps; i++)
862 netif_rx_schedule(&port->port_res[i].napi); 862 napi_schedule(&port->port_res[i].napi);
863} 863}
864#endif 864#endif
865 865
@@ -867,7 +867,7 @@ static irqreturn_t ehea_recv_irq_handler(int irq, void *param)
867{ 867{
868 struct ehea_port_res *pr = param; 868 struct ehea_port_res *pr = param;
869 869
870 netif_rx_schedule(&pr->napi); 870 napi_schedule(&pr->napi);
871 871
872 return IRQ_HANDLED; 872 return IRQ_HANDLED;
873} 873}