freebsd-nq/sys/dev/ioat
Alexander Motin 2f03a95fd2 Fix few issues in ioat(4) driver.
- Do not explicitly count active descriptors.  It allows hardware reset
to happen while device is still referenced, plus simplifies locking.
 - Do not stop/start callout each time the queue becomes empty.  Let it
run to completion and rearm if needed, that is much cheaper then to touch
it every time, plus also simplifies locking.
 - Decouple submit and cleanup locks, making driver reentrant.
 - Avoid memory mapped status register read on every interrupt.
 - Improve locking during device attach/detach.
 - Remove some no longer used variables.

Reviewed by:	cem
MFC after:	1 week
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D19231
2019-02-21 16:47:36 +00:00
..
ioat_hw.h
ioat_internal.h Fix few issues in ioat(4) driver. 2019-02-21 16:47:36 +00:00
ioat_test.c ioat: don't specify inline for function with variable argument list 2017-03-04 12:51:57 +00:00
ioat_test.h
ioat.c Fix few issues in ioat(4) driver. 2019-02-21 16:47:36 +00:00
ioat.h ioat(4): Set __result_use_check on ioat_acquire_reserve 2019-01-17 23:21:02 +00:00