svn commit: r289909 - head/sys/dev/ioat
Conrad E. Meyer
cem at FreeBSD.org
Sat Oct 24 23:45:57 UTC 2015
Author: cem
Date: Sat Oct 24 23:45:56 2015
New Revision: 289909
URL: https://svnweb.freebsd.org/changeset/base/289909
Log:
ioat: Always re-arm interrupts in process_events
It doesn't hurt, even if there is nothing to do.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ioat/ioat.c
Modified: head/sys/dev/ioat/ioat.c
==============================================================================
--- head/sys/dev/ioat/ioat.c Sat Oct 24 23:45:45 2015 (r289908)
+++ head/sys/dev/ioat/ioat.c Sat Oct 24 23:45:56 2015 (r289909)
@@ -575,10 +575,8 @@ ioat_process_events(struct ioat_softc *i
ioat_log_message(3, "%s\n", __func__);
- if (status == ioat->last_seen) {
- mtx_unlock(&ioat->cleanup_lock);
- return;
- }
+ if (status == ioat->last_seen)
+ goto out;
while (1) {
desc = ioat_get_ring_entry(ioat, ioat->tail);
@@ -602,6 +600,7 @@ ioat_process_events(struct ioat_softc *i
ioat_timer_callback, ioat);
}
+out:
ioat_write_chanctrl(ioat, IOAT_CHANCTRL_RUN);
mtx_unlock(&ioat->cleanup_lock);
More information about the svn-src-all
mailing list