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 <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ec2b559d68
commit
f9ce416ac7
@ -5213,9 +5213,9 @@ int qeth_poll(struct napi_struct *napi, int budget)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
napi_complete_done(napi, work_done);
|
if (napi_complete_done(napi, work_done) &&
|
||||||
if (qdio_start_irq(card->data.ccwdev, 0))
|
qdio_start_irq(CARD_DDEV(card), 0))
|
||||||
napi_schedule(&card->napi);
|
napi_schedule(napi);
|
||||||
out:
|
out:
|
||||||
return work_done;
|
return work_done;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user