Skip to content

Commit f9ce416

Browse files
julianwiedmanndavem330
authored andcommitted
s390/qeth: keep IRQ disabled until NAPI is really done
When napi_complete_done() returns false, the NAPI instance is still active and we can keep the IRQ disabled a little longer. Signed-off-by: Julian Wiedmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ec2b559 commit f9ce416

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/s390/net/qeth_core_main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5213,9 +5213,9 @@ int qeth_poll(struct napi_struct *napi, int budget)
52135213
}
52145214
}
52155215

5216-
napi_complete_done(napi, work_done);
5217-
if (qdio_start_irq(card->data.ccwdev, 0))
5218-
napi_schedule(&card->napi);
5216+
if (napi_complete_done(napi, work_done) &&
5217+
qdio_start_irq(CARD_DDEV(card), 0))
5218+
napi_schedule(napi);
52195219
out:
52205220
return work_done;
52215221
}

0 commit comments

Comments
 (0)