git: virtio - Refactor virtio bus API, to untangle virtuques from IRQ allocation.

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


commit 2f2405bb182023ff0ff0fb5a4d9fc82a5231807c
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Sep 8 00:22:49 2017 +0200

    virtio - Refactor virtio bus API, to untangle virtuques from IRQ allocation.
    
    * These API changes allow each virtio device driver to explicitly control
      the assignment of virtqueues to IRQ vectors.
    
    * This allows explicitly assigning IRQ vectors to cpus. And virtio device
      drivers also get to know, on which cpu each virtqueue interrupt is
      running.

Summary of changes:
 sys/dev/virtual/virtio/block/virtio_blk.c     |  32 +-
 sys/dev/virtual/virtio/net/if_vtnet.c         | 103 ++++-
 sys/dev/virtual/virtio/net/if_vtnetvar.h      |   4 +
 sys/dev/virtual/virtio/pci/virtio_pci.c       | 574 ++++++++++++++++----------
 sys/dev/virtual/virtio/scsi/virtio_scsi.c     |  87 +++-
 sys/dev/virtual/virtio/scsi/virtio_scsivar.h  |   3 +
 sys/dev/virtual/virtio/virtio/virtio.c        |  41 +-
 sys/dev/virtual/virtio/virtio/virtio.h        |  38 +-
 sys/dev/virtual/virtio/virtio/virtio_bus_if.m |  32 ++
 9 files changed, 679 insertions(+), 235 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2f2405bb182023ff0ff0fb5a4d9fc82a5231807c


-- 
DragonFly BSD source repository


More information about the Commits mailing list