diff options
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r-- | drivers/net/chelsio/sge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c index 1da70070c2fa..7896468dda11 100644 --- a/drivers/net/chelsio/sge.c +++ b/drivers/net/chelsio/sge.c | |||
@@ -1613,7 +1613,7 @@ int t1_poll(struct napi_struct *napi, int budget) | |||
1613 | int work_done = process_responses(adapter, budget); | 1613 | int work_done = process_responses(adapter, budget); |
1614 | 1614 | ||
1615 | if (likely(work_done < budget)) { | 1615 | if (likely(work_done < budget)) { |
1616 | netif_rx_complete(dev, napi); | 1616 | netif_rx_complete(napi); |
1617 | writel(adapter->sge->respQ.cidx, | 1617 | writel(adapter->sge->respQ.cidx, |
1618 | adapter->regs + A_SG_SLEEPING); | 1618 | adapter->regs + A_SG_SLEEPING); |
1619 | } | 1619 | } |
@@ -1633,7 +1633,7 @@ irqreturn_t t1_interrupt(int irq, void *data) | |||
1633 | 1633 | ||
1634 | if (napi_schedule_prep(&adapter->napi)) { | 1634 | if (napi_schedule_prep(&adapter->napi)) { |
1635 | if (process_pure_responses(adapter)) | 1635 | if (process_pure_responses(adapter)) |
1636 | __netif_rx_schedule(dev, &adapter->napi); | 1636 | __netif_rx_schedule(&adapter->napi); |
1637 | else { | 1637 | else { |
1638 | /* no data, no NAPI needed */ | 1638 | /* no data, no NAPI needed */ |
1639 | writel(sge->respQ.cidx, adapter->regs + A_SG_SLEEPING); | 1639 | writel(sge->respQ.cidx, adapter->regs + A_SG_SLEEPING); |