diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-09 03:23:53 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-12-09 03:23:53 +0100 |
commit | a0bb446d75c2f5f00745503a06d171c6ea02ee9d (patch) | |
tree | 9f489e067061db2d31f526ee27797c46aaf3c9cf /sys/src/9/port/devsegment.c | |
parent | 469a10f1d95ef94c00fe1a78466e63be130fed1f (diff) |
ethervirtio: fix queue notifications and interrupt flags, avoid useless notifications
bug: Rnointerrupt was used on Vqueue.used.flags instead of
Vqueue.avail.flags.
introduce vqnotify() function that notifies the device
about available ring advancement.
avoid queue notifications there that can be slow by
checking Unonotify flag in Vqueue.used.flags.
keep track of the number of notifications in the queue.
Diffstat (limited to 'sys/src/9/port/devsegment.c')
0 files changed, 0 insertions, 0 deletions