Date: Sat, 24 Oct 2015 23:45:56 +0000 (UTC) From: "Conrad E. Meyer" <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289909 - head/sys/dev/ioat Message-ID: <201510242345.t9ONjucZ012014@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510242345.t9ONjucZ012014>