git: if_vtnet - Add polling support.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Fri Mar 30 04:10:45 PDT 2018
commit 34c7d7ddfd3916373730d51801c1e2358bbcde07
Author: Imre Vadász <imre at vdsz.com>
Date: Thu Mar 29 23:34:20 2018 +0200
if_vtnet - Add polling support.
* We need to tear down the interrupts, to reliably stop them from firing,
when enabling polling. So when disabling polling, we need to hope that
we can get all interrupts set up again, as before.
* When polling, handle the rx and tx virtqueues on the same cpu.
Summary of changes:
sys/dev/virtual/virtio/net/if_vtnet.c | 128 ++++++++++++++++++++++++++++++++--
1 file changed, 124 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/34c7d7ddfd3916373730d51801c1e2358bbcde07
--
DragonFly BSD source repository
More information about the Commits
mailing list