freebsd-dev/sys/dev/ioat
Conrad Meyer 1bbc06b85b ioat(4): Don't "complete" DMA descriptors prematurely
In r304602, I mistakenly removed the ioat_process_events check that we weren't
processing events before the hardware had completed the descriptor
("last_seen").  Reinstate that logic.

Keep the defensive loop condition and additionally make sure we've actually
completed a descriptor before blindly chasing the ring around.

In reset, queue and finish the startup command before allowing any event
processing or submission to occur.  Avoid potential missed callouts by
requeueing the poll later.
2016-08-29 20:46:33 +00:00
..
ioat_hw.h ioat(4): Export HW capabilities to consumers 2016-07-12 21:56:49 +00:00
ioat_internal.h ioat(4): Submitters pick up a shovel if queue is too full 2016-07-12 21:56:46 +00:00
ioat_test.c ioat(4): ioat_get_dmaengine(): Add M_WAITOK mode 2016-04-09 13:15:34 +00:00
ioat_test.h ioatcontrol(8): Add support for interrupt coalescing 2015-12-14 22:02:01 +00:00
ioat.c ioat(4): Don't "complete" DMA descriptors prematurely 2016-08-29 20:46:33 +00:00
ioat.h ioat(4): Export HW capabilities to consumers 2016-07-12 21:56:49 +00:00