aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio')
-rw-r--r--drivers/net/chelsio/sge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c
index d984b7995763..840da83fb3cf 100644
--- a/drivers/net/chelsio/sge.c
+++ b/drivers/net/chelsio/sge.c
@@ -1612,7 +1612,7 @@ int t1_poll(struct napi_struct *napi, int budget)
1612 int work_done = process_responses(adapter, budget); 1612 int work_done = process_responses(adapter, budget);
1613 1613
1614 if (likely(work_done < budget)) { 1614 if (likely(work_done < budget)) {
1615 netif_rx_complete(napi); 1615 napi_complete(napi);
1616 writel(adapter->sge->respQ.cidx, 1616 writel(adapter->sge->respQ.cidx,
1617 adapter->regs + A_SG_SLEEPING); 1617 adapter->regs + A_SG_SLEEPING);
1618 } 1618 }
@@ -1630,7 +1630,7 @@ irqreturn_t t1_interrupt(int irq, void *data)
1630 1630
1631 if (napi_schedule_prep(&adapter->napi)) { 1631 if (napi_schedule_prep(&adapter->napi)) {
1632 if (process_pure_responses(adapter)) 1632 if (process_pure_responses(adapter))
1633 __netif_rx_schedule(&adapter->napi); 1633 __napi_schedule(&adapter->napi);
1634 else { 1634 else {
1635 /* no data, no NAPI needed */ 1635 /* no data, no NAPI needed */
1636 writel(sge->respQ.cidx, adapter->regs + A_SG_SLEEPING); 1636 writel(sge->respQ.cidx, adapter->regs + A_SG_SLEEPING);