git: virtio - Move virtqueue_pending() checks into the child driver.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Mar 24 08:29:28 PDT 2018


commit f852cf8223a804cdf37fb5cc685a71a14e5b2388
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Sep 13 21:59:25 2017 +0200

    virtio - Move virtqueue_pending() checks into the child driver.
    
    * This makes it easier for now, to deal with virtqueue locking, when
      multiple virtqueues are mapped to a single interrupt vector.

Summary of changes:
 sys/dev/virtual/virtio/block/virtio_blk.c |  6 +++++-
 sys/dev/virtual/virtio/net/if_vtnet.c     |  6 ++++++
 sys/dev/virtual/virtio/pci/virtio_pci.c   | 23 ++++++++++++++---------
 sys/dev/virtual/virtio/scsi/virtio_scsi.c |  9 +++++++++
 4 files changed, 34 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f852cf8223a804cdf37fb5cc685a71a14e5b2388


-- 
DragonFly BSD source repository



More information about the Commits mailing list