git: if_vtnet - Factor out the virtio_bind_intr() calls into a separate function.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Fri Mar 30 04:10:45 PDT 2018


commit 4bf21f5c5175bb629fdf4c2997e182b8c3f1eb33
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Mar 29 21:23:10 2018 +0200

    if_vtnet - Factor out the virtio_bind_intr() calls into a separate function.
    
    * And most importantly, store the bindings in the vtnet_softc struct, so we
      can restore the interrupt <-> virtqueue bindings when disabling polling
      mode.

Summary of changes:
 sys/dev/virtual/virtio/net/if_vtnet.c    | 129 +++++++++++++++++--------------
 sys/dev/virtual/virtio/net/if_vtnetvar.h |   8 ++
 2 files changed, 80 insertions(+), 57 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4bf21f5c5175bb629fdf4c2997e182b8c3f1eb33


-- 
DragonFly BSD source repository



More information about the Commits mailing list